Class ViewCommand
The base command for all view commands in the LemonEdge platform, that can be part of a views Commands collection
Inheritance
System.Object
ViewCommand
Implements
System.IDisposable
System.Windows.Input.ICommand
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Client.Core.Commands.ViewCommands
Assembly: ClientCore.dll
Syntax
public abstract class ViewCommand : EPCommandWithDescriptor, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor
Constructors
ViewCommand(IModelLayoutCommon, ViewCommand)
Creates a new ViewCommand
Declaration
protected ViewCommand(IModelLayoutCommon owner, ViewCommand parent = null)
Parameters
Type | Name | Description |
---|---|---|
IModelLayoutCommon | owner | The owning context this command operates within |
ViewCommand | parent | An optional parent command if this command is a child command |
Properties
IncludeInSimple
By default view commands are included in any simple layout filtering of commands
Declaration
public virtual bool IncludeInSimple { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Type
Indicates this is a ViewSpecific command, and is not globally unique
Declaration
public override Guid Type { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Overrides
Implements
System.IDisposable
System.Windows.Input.ICommand