ChangeTargetCommand
Class
The change target undoable command.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public class ChangeTargetCommand : GraphCommandBase, ICommand
Inheritance: objectGraphCommandBaseChangeTargetCommand
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChangeTargetCommand class.
C#
public ChangeTargetCommand(IConnection connection, IConnector targetConnector = null, Point newTargetPoint = default, Action<IConnection> undoAction = null, Action<IConnection> redoAction = null)
The connection.
targetConnectorIConnectorThe target connector.
newTargetPointPointThe new target point.
undoActionAction<IConnection>The undo action.
redoActionAction<IConnection>The redo action.
Methods
Executes the specified state.
Redoes this instance.
C#
public override void Redo()
Overrides:
Undoes this instance.