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