Class DrawCommand
Base class for undoable actions based on delegates.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class DrawCommand : UndoableDelegateCommand, ICommand
Constructors
DrawCommand(String, IGeometryShape, Boolean, DrawingState, DrawingState, Action<Object>, Action<Object>, Predicate<Object>)
Initializes a new instance of the Draw
Declaration
public DrawCommand(string name, IGeometryShape shape, bool isComplete, DrawingState oldState, DrawingState newState, Action<object> execute, Action<object> undo = null, Predicate<object> canExecute = null)
Parameters
System. The name. |
IGeometry The shape. |
System. If set to |
Drawing The old state. |
Drawing The new state. |
System. The execute. |
System. The undo. |
System. The can execute. |
Properties
IsComplete
Gets a value indicating whether this instance is complete.
Declaration
public bool IsComplete { get; }
Property Value
System.
|