Class MoveItemCommand
Undoable move action.
Inherited Members
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
|