Interface IEPCommand
The core LemonEdge Command interface, implemented by the base EPCommand
Inherits from System.Windows.Input.ICommand so that this can be used against any UI component in any type of client application as the command
Inherited Members
System.Windows.Input.ICommand.CanExecute(System.Object)
System.Windows.Input.ICommand.Execute(System.Object)
System.Windows.Input.ICommand.CanExecuteChanged
Namespace: LemonEdge.Client.Core.Commands
Assembly: ClientCore.dll
Syntax
public interface IEPCommand : ICommand
Properties
Key
Indicates the command key to use for executing this from a keyboard command
Declaration
virtual KeyboardKey Key { get; }
Property Value
Type | Description |
---|---|
KeyboardKey |
ModifierKeys
Indicates the modifier keys to be used with Key when executing this command from the keyboard
Declaration
virtual KeyboardModifierKeys ModifierKeys { get; }
Property Value
Type | Description |
---|---|
KeyboardModifierKeys |
Owner
The host owning context of this command
Declaration
IModelLayoutCommon Owner { get; }
Property Value
Type | Description |
---|---|
IModelLayoutCommon |
Toggler
If this command can toggle between two states, then this toggler implementation provides a mechanism for the command to react to the toggled state changing
Declaration
IHasToggleStatus Toggler { get; }
Property Value
Type | Description |
---|---|
IHasToggleStatus |
Methods
OnCanExecuteChanged()
Provides a mechanism for the command to raise its System.Windows.Input.ICommand.CanExecuteChanged event
Declaration
void OnCanExecuteChanged()