ChangeSourceCommand
Class
The change source undoable command.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public class ChangeSourceCommand : GraphCommandBase, ICommand
Inheritance: objectGraphCommandBaseChangeSourceCommand
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChangeSourceCommand class.
C#
public ChangeSourceCommand(IConnection connection, IConnector sourceConnector = null, Point newSourcePoint = default, Action<IConnection> undoAction = null, Action<IConnection> redoAction = null)
The connection.
sourceConnectorIConnectorThe source connector.
newSourcePointPointThe new source 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.