Interface IHasToggleStatus
An interface used by IEPCommand to implement a mechanism that indicates if a command should be in its toggled state or not
This can exist independantly of the command, so the toggle command can react to the change (wherever it maybe in the application) and update its state accordingly
Inherited Members
System.IDisposable.Dispose()
Namespace: LemonEdge.Client.Core.Commands
Assembly: ClientCore.dll
Syntax
public interface IHasToggleStatus : IDisposable
Properties
IsToggled
Indicates if the item that triggers has a toggled state for a command is in the toggled state or not.
Declaration
bool IsToggled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Events
ToggleChanged
An event that the IEPCommand can listen to which indicates this item has changed IsToggled state and the command should react accordingly
Declaration
event EventHandler<EventArgs> ToggleChanged
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |