Class MoveItemCommand
Undoable move action.
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.Windows.Diagrams.Core.dll
Syntax
public class MoveItemCommand : GraphCommandBase, ICommand
Constructors
MoveItemCommand(String, IDiagramItem, Point, Point)
Initializes a new instance of the MoveItemCommand class.
Declaration
public MoveItemCommand(string name, IDiagramItem shape, Point oldLocation, Point newLocation)
Parameters
System.String
name
The name. |
IDiagramItem
shape
The shape. |
System.Windows.Point
oldLocation
The old location. |
System.Windows.Point
newLocation
The new location. |
Methods
Execute(Object)
Executes the specified state.
Declaration
public override void Execute(object state = null)
Parameters
System.Object
state
|
Overrides
Redo()
Undo(Object)
Undoes this instance.
Declaration
public override void Undo(object state = null)
Parameters
System.Object
state
|