Table of Contents

Class Command

Namespace
Gemini.Framework.Commands
Assembly
Gemini.dll
public class Command : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
Inheritance
PropertyChangedBase
Command
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

Command(CommandDefinitionBase, ILayoutItem)

Initializes a new instance of the Command class.

public Command(CommandDefinitionBase commandDefinition, ILayoutItem layoutItem)

Parameters

commandDefinition CommandDefinitionBase

The associated command.

layoutItem ILayoutItem

The associated layout item. Null for a global command.

Properties

Checked

Gets or sets a value indicating whether the command is checked.

public bool Checked { get; set; }

Property Value

bool

CommandDefinition

Gets the command definition.

public CommandDefinitionBase CommandDefinition { get; }

Property Value

CommandDefinitionBase

Enabled

Gets or sets a value indicating whether the command is enabled.

public bool Enabled { get; set; }

Property Value

bool

IconSource

Gets or sets the uri for the icon source.

public Uri IconSource { get; set; }

Property Value

Uri

LayoutItem

Gets the ILayoutItem the command is associated. This is null for global commands.

public ILayoutItem LayoutItem { get; }

Property Value

ILayoutItem

Tag

Gets or sets a tag.

public object Tag { get; set; }

Property Value

object

Text

public string Text { get; set; }

Property Value

string

ToolTip

Gets or sets the display text.

public string ToolTip { get; set; }

Property Value

string

Visible

Gets or sets a value indicating whether the command is visible.

public bool Visible { get; set; }

Property Value

bool