ClassChangeTargetCommand
Class
The change target undoable command.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
cs-api-definition
public class ChangeTargetCommand : GraphCommandBase, ICommand
Inheritance: objectGraphCommandBaseChangeTargetCommand
Implements:
Inherited Members
Constructors
ChangeTargetCommand(IConnection, IConnector, Point, Action<IConnection>, Action<IConnection>)
Initializes a new instance of the ChangeTargetCommand class.
Declaration
cs-api-definition
public ChangeTargetCommand(IConnection connection, IConnector targetConnector = null, Point newTargetPoint = null, Action<IConnection> undoAction = null, Action<IConnection> redoAction = null)
Parameters
connection
The connection.
targetConnector
The target connector.
newTargetPoint
Point
The new target point.
undoAction
The undo action.
redoAction
The redo action.
Methods
Execute(object)
Executes the specified state.
Declaration
cs-api-definition
public override void Execute(object state = null)
Parameters
state
Overrides
Undo(object)
Undoes this instance.
Declaration
cs-api-definition
public override void Undo(object state = null)
Parameters
state
Overrides