Skip to main content

DiagramCommands Methods

Provides access to diagram commands.
Name Description
CanExecute(DiagramCommand) Gets whether the specified command can be executed in its current state. Inherited from DiagramCommandsBase.
CanExecute<T>(DiagramCommand<T>, T) Gets whether the specified command can be executed in its current state. Inherited from DiagramCommandsBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Execute(DiagramCommand, IMouseArgs) Executes the specified diagram command. Inherited from DiagramCommandsBase.
Execute<T>(DiagramCommand<T>, T, IMouseArgs) Executes the specified diagram command. Inherited from DiagramCommandsBase.
GetCommandHotkeys(DiagramCommandBase, Object) Inherited from DiagramCommandsBase.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetKeyDownCommand(Key, ModifierKeys) static Gets the command associated with pressing down the specified key or key combination. Inherited from DiagramCommandsBase.
GetKeyUpCommand(Key, ModifierKeys) static Gets the command associated with releasing the specified key or key combination. Inherited from DiagramCommandsBase.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterHandlers(Action<IHandlersRegistrator>, Boolean) Allows you to override the default commands. Inherited from DiagramCommandsBase.
RegisterHotKeys(Action<IHotKeysRegistrator>) Allows you to clear the existing shortcuts or define new ones. Inherited from DiagramCommandsBase.
ToString() Returns a string that represents the current object. Inherited from Object.
UpdateCommands(IEnumerable<DiagramCommandBase>) Gets the command that updates the state of all DiagramCommands members.
See Also