ClassConnectionManipulationTool
The tool handling the changes of a connection;
- translating the intermediate connection points
- adding and removing intermediate connection points
- connecting or detaching endpoints to/from a shape's connector.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public class ConnectionManipulationTool : ToolBase, ITool, IMouseListener, IKeyboardListener
Inheritance: objectToolBaseConnectionManipulationTool
Implements:
Inherited Members
Constructors
ConnectionManipulationTool()
Initializes a new instance of the ConnectionManipulationTool class.
Declaration
public ConnectionManipulationTool()
Fields
Properties
ActiveManipulationPoint
Gets or sets the active manipulation point.
Declaration
public IConnectionEditPoint ActiveManipulationPoint { get; set; }
Property Value
The active manipulation point.
Methods
Initialize(IGraphServiceLocator)
Initializes the specified service locator.
Declaration
public override void Initialize(IGraphServiceLocator serviceLocator)
Parameters
serviceLocator
The service locator.
Overrides
KeyDown(KeyArgs)
Handles the key down event.
KeyUp(KeyArgs)
Handles the key up event.
MouseDoubleClick(PointerArgs)
Handles the mouse double click event.
Declaration
public virtual bool MouseDoubleClick(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Implements
MouseDown(PointerArgs)
Handles the mouse-down event.
Declaration
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]
public virtual bool MouseDown(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Implements
MouseMove(PointerArgs)
Handles the mouse-move event.
Declaration
public virtual bool MouseMove(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Implements
MouseUp(PointerArgs)
Handles the mouse-up event.
Declaration
public virtual bool MouseUp(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Implements