Class ChangeSourceCommand
The change source undoable command.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class ChangeSourceCommand : GraphCommandBase, ICommand
Constructors
ChangeSourceCommand(IConnection, IConnector, Point, Action<IConnection>, Action<IConnection>)
Initializes a new instance of the Change
Declaration
public ChangeSourceCommand(IConnection connection, IConnector sourceConnector = null, Point newSourcePoint = null, Action<IConnection> undoAction = null, Action<IConnection> redoAction = null)
Parameters
IConnection
connection
The connection. |
IConnector
sourceConnector
The source connector. |
System. The new source point. |
System. The undo action. |
System. The redo action. |
Methods
Execute(Object)
Executes the specified state.
Declaration
public override void Execute(object state = null)
Parameters
System.
|
Overrides
Redo()
Undo(Object)
Undoes this instance.
Declaration
public override void Undo(object state = null)
Parameters
System.
|