[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.Dialogs.BuiltInDialogs.ContextMenu

ContextMenu Method

ContextMenu(GcSpreadSheet, ICommand)

Create a context menu on spread

Declaration
public static ContextMenu ContextMenu(GcSpreadSheet spread, ICommand onExecutedCommand)
Public Shared Function ContextMenu(spread As GcSpreadSheet, onExecutedCommand As ICommand) As ContextMenu
Parameters
Type Name Description
GcSpreadSheet spread

The GcSpreadSheetSpread

ICommand onExecutedCommand

The command to execute when menu item is selected.

Returns
Type Description
ContextMenu

The ContextMenu(GcSpreadSheet, ICommand)

ContextMenu(GcSpreadSheet, object, ICommand)

Create a context menu on spread

Declaration
public static ContextMenu ContextMenu(GcSpreadSheet spread, object target, ICommand onExecutedCommand)
Public Shared Function ContextMenu(spread As GcSpreadSheet, target As Object, onExecutedCommand As ICommand) As ContextMenu
Parameters
Type Name Description
GcSpreadSheet spread

The GcSpreadSheetSpread

object target

The target of this context menu.

ICommand onExecutedCommand

The command to execute when menu item is selected.

Returns
Type Description
ContextMenu

The ContextMenu(GcSpreadSheet, ICommand)