Blazor | ComponentOne
C1.Blazor.Menu Assembly / C1.Blazor.Menu Namespace / C1ContextMenu Class / ItemClosing Event

In This Topic
    ItemClosing Event (C1ContextMenu)
    In This Topic
    Occurs when a C1MenuItem is closing.
    Syntax
    'Declaration
     
    
    Public Event ItemClosing As EventHandler(Of CancelMenuItemEventArgs)
    public event EventHandler<CancelMenuItemEventArgs> ItemClosing
    Event Data

    The event handler receives an argument of type CancelMenuItemEventArgs containing data related to this event. The following CancelMenuItemEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    The target MenuItem  
    See Also