Class CommandMenuItemDefinition<TCommandDefinition>
public class CommandMenuItemDefinition<TCommandDefinition> : MenuItemDefinition where TCommandDefinition : CommandDefinitionBase
Type Parameters
TCommandDefinition
- Inheritance
-
CommandMenuItemDefinition<TCommandDefinition>
- Inherited Members
Constructors
CommandMenuItemDefinition(MenuItemGroupDefinition, int)
public CommandMenuItemDefinition(MenuItemGroupDefinition group, int sortOrder)
Parameters
group
MenuItemGroupDefinitionsortOrder
int
Properties
CommandDefinition
Gets the command definition.
public override CommandDefinitionBase CommandDefinition { get; }
Property Value
IconSource
Gets the URI for the icon.
public override Uri IconSource { get; }
Property Value
KeyGesture
Gets key gesture associated with this item.
public override KeyGesture KeyGesture { get; }
Property Value
Text
Gets the text of this item.
public override string Text { get; }