Represents a composite async command.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public class CompositeAsyncStateCommand : CompositeCommand, IAsyncStateCommand, ICommand
Inheritance: objectUndoableDelegateCommandCompositeCommandCompositeAsyncStateCommand
Implements:
Inherited Members
Constructors
Initializes a new instance of the CompositeAsyncStateCommand class.
C#
public CompositeAsyncStateCommand(string name, Action<object> execute = null, Action<object> undo = null, Predicate<object> canExecute = null)
The name or title of the composite action.
executeAction<object>The execute action.
undoAction<object>The undo action.
canExecutePredicate<object>The CanExecute action.
Properties
Gets a value indicating whether this instance is committed.
C#
public bool IsCommited { get; }
Implements:
Methods
Executes the specified state.
C#
public override void Execute(object state = null)
The state associated with the execution.
Overrides:
Implements:
Unwinds an undoable action.
Events
Occurs when the command is completed.
C#
public event EventHandler Completed
Implements: