Class ViewToggleCommand
The base command for all view commands in the LemonEdge platform that have a toggled state.
Inheritance
ViewToggleCommand
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Commands.ViewCommands
Assembly: LemonEdge.ClientCore.dll
Syntax
public abstract class ViewToggleCommand : ViewCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor
Constructors
ViewToggleCommand(IModelLayoutCommon)
Creates a new ViewToggleCommand
Declaration
protected ViewToggleCommand(IModelLayoutCommon owner)
Parameters
Type | Name | Description |
---|---|---|
IModelLayoutCommon | owner | The owning context this command operates within |
ViewToggleCommand(IModelLayoutCommon, IHasToggleStatus)
Creates a new ViewToggleCommand
Declaration
protected ViewToggleCommand(IModelLayoutCommon owner, IHasToggleStatus toggler)
Parameters
Type | Name | Description |
---|---|---|
IModelLayoutCommon | owner | The owning context this command operates within |
IHasToggleStatus | toggler | The class that holds the toggle state this command reacts to |