Click or drag to resize
CompositeCommand Class
Represents a composite command.
Inheritance Hierarchy

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class CompositeCommand : UndoableDelegateCommand

The CompositeCommand type exposes the following members.

Constructors
  NameDescription
Public methodCompositeCommand
Initializes a new instance of the CompositeCommand class.
Top
Methods
  NameDescription
Public methodAddCommand
Adds a command to the composite command.
Public methodCanExecute
Returns boolean value indicating whether this command can be executed.
(Overrides UndoableDelegateCommandCanExecute(Object).)
Public methodClear
Clears the commands from the composite command.
Public methodExecute
Executes the specified state.
(Overrides UndoableDelegateCommandExecute(Object).)
Public methodInsertCommand
Inserts a command into the composite command at specific index.
Public methodRedo
Executes and undoable action.
(Overrides UndoableDelegateCommandRedo.)
Public methodRemoveCommand
Removes a command from the composite command.
Public methodUndo
Unwinds an undoable action.
(Overrides UndoableDelegateCommandUndo(Object).)
Top
Properties
  NameDescription
Public propertyCommands
Gets the commands.
Public propertyName
Gets or sets the name.
(Inherited from UndoableDelegateCommand.)
Top
See Also