FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / ExcelContextMenu Class / GetMenuItem Method
ContextMenuCommands that determines the item to be retrieved.

In This Topic
    GetMenuItem Method
    In This Topic
    Get a System.Windows.Controls.MenuItem based on a command code.
    Syntax
    'Declaration
     
    
    Public Function GetMenuItem( _
       ByVal cmd As ContextMenuCommands _
    ) As MenuItem
    public MenuItem GetMenuItem( 
       ContextMenuCommands cmd
    )

    Parameters

    cmd
    ContextMenuCommands that determines the item to be retrieved.

    Return Value

    System.Windows.Controls.MenuItem that matches the given cmd.
    See Also