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 Move
Declaration
public MoveItemCommand(string name, IDiagramItem shape, Point oldLocation, Point newLocation)
Parameters
System. The name. |
IDiagram The shape. |
System. The old location. |
System. The new location. |
Methods
Execute(Object)
Executes the specified state.
Declaration
public override void Execute(object state = null)
Parameters
System.
|
Overrides
Redo()
Undo(Object)
Undoes this instance.
Declaration
public override void Undo(object state = null)
Parameters
System.
|