C# Class FirstFloor.ModernUI.Helpers.ContextMenuExtension

Exibir arquivo Open project: gro-ove/actools

Public Methods

Method Description
AddItem ( this menu, ICommand command ) : System.Windows.Controls.ContextMenu
AddItem ( this menu, string header, System.Action action, string shortcut = null ) : System.Windows.Controls.ContextMenu
AddSeparator ( this menu ) : System.Windows.Controls.ContextMenu
AddTextBoxItems ( this menu ) : System.Windows.Controls.ContextMenu

Method Details

AddItem() public static method

public static AddItem ( this menu, ICommand command ) : System.Windows.Controls.ContextMenu
menu this
command ICommand
return System.Windows.Controls.ContextMenu

AddItem() public static method

public static AddItem ( this menu, string header, System.Action action, string shortcut = null ) : System.Windows.Controls.ContextMenu
menu this
header string
action System.Action
shortcut string
return System.Windows.Controls.ContextMenu

AddSeparator() public static method

public static AddSeparator ( this menu ) : System.Windows.Controls.ContextMenu
menu this
return System.Windows.Controls.ContextMenu

AddTextBoxItems() public static method

public static AddTextBoxItems ( this menu ) : System.Windows.Controls.ContextMenu
menu this
return System.Windows.Controls.ContextMenu