MoveItemCommand
Class
Undoable move action.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public class MoveItemCommand : GraphCommandBase, ICommand
Inheritance: objectGraphCommandBaseMoveItemCommand
Implements:
Inherited Members
Constructors
Initializes a new instance of the MoveItemCommand class.
C#
public MoveItemCommand(string name, IDiagramItem shape, Point oldLocation, Point newLocation)
The name.
shapeIDiagramItemThe shape.
oldLocationPointThe old location.
newLocationPointThe new location.
Methods
Executes the specified state.
Redoes this instance.
C#
public override void Redo()
Overrides:
Undoes this instance.