Class ChangeTargetCommand
The change target undoable command.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class ChangeTargetCommand : GraphCommandBase, ICommand
Constructors
ChangeTargetCommand(IConnection, IConnector, Point, Action<IConnection>, Action<IConnection>)
Initializes a new instance of the ChangeTargetCommand class.
Declaration
public ChangeTargetCommand(IConnection connection, IConnector targetConnector = null, Point newTargetPoint = null, Action<IConnection> undoAction = null, Action<IConnection> redoAction = null)
Parameters
IConnection
connection
The connection. |
IConnector
targetConnector
The target connector. |
System.Windows.Point
newTargetPoint
The new target point. |
System.Action<IConnection>
undoAction
The undo action. |
System.Action<IConnection>
redoAction
The redo action. |
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
|