Table of Contents

Class CommandMenuItemDefinition<TCommandDefinition>

Namespace
Gemini.Framework.Menus
Assembly
Gemini.dll
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 MenuItemGroupDefinition
sortOrder int

Properties

CommandDefinition

Gets the command definition.

public override CommandDefinitionBase CommandDefinition { get; }

Property Value

CommandDefinitionBase

IconSource

Gets the URI for the icon.

public override Uri IconSource { get; }

Property Value

Uri

KeyGesture

Gets key gesture associated with this item.

public override KeyGesture KeyGesture { get; }

Property Value

KeyGesture

Text

Gets the text of this item.

public override string Text { get; }

Property Value

string