Spread WPF 18
GrapeCity.Wpf.SpreadSheet.Dialogs Namespace / BuiltInDialogs Class / ContextMenu Method / ContextMenu(GcSpreadSheet,ICommand) Method
The GrapeCity.Wpf.SpreadSheet.GcSpreadSheetSpread
The command to execute when menu item is selected.


In This Topic
    ContextMenu(GcSpreadSheet,ICommand) Method
    In This Topic
    Create a context menu on spread
    Syntax
    'Declaration
     
    Public Overloads Shared Function ContextMenu( _
       ByVal spread As GcSpreadSheet, _
       ByVal onExecutedCommand As ICommand _
    ) As ContextMenu
    'Usage
     
    Dim spread As GcSpreadSheet
    Dim onExecutedCommand As ICommand
    Dim value As ContextMenu
     
    value = BuiltInDialogs.ContextMenu(spread, onExecutedCommand)
    public static ContextMenu ContextMenu( 
       GcSpreadSheet spread,
       ICommand onExecutedCommand
    )

    Parameters

    spread
    The GrapeCity.Wpf.SpreadSheet.GcSpreadSheetSpread
    onExecutedCommand
    The command to execute when menu item is selected.

    Return Value

    See Also