Interface IEPCommand
The core LemonEdge Command interface, implemented by the base EPCommand
Inherits from ICommand so that this can be used against any UI component in any type of client application as the command
Namespace: LemonEdge.Client.Core.Commands.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public interface IEPCommand : ICommand
Properties
IsQuickAccessCommand
Indicates this command should also be available in a quick access manner if the ui permits it to be highlighted and seperated for quick access among a group of other commands
For instance in the desktop application view commands are accessible from a drop down menu by default, but if this is true they are also directly accessible from the view itself
Declaration
bool IsQuickAccessCommand { get; }
Property Value
Type | Description |
---|---|
bool |
Key
Indicates the command key to use for executing this from a keyboard command
Declaration
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
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 CanExecuteChanged event
Declaration
void OnCanExecuteChanged()