New to Telerik UI for WinFormsStart a free 30-day trial

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.WinControls.RadDiagram.dll

Syntax:

C#
public class ConnectionManipulationTool : ToolBase, ITool, IMouseListener, IKeyboardListener

Inheritance: objectToolBaseConnectionManipulationTool

Implements: IKeyboardListenerIMouseListenerITool

Inherited Members ToolBase.DeactivateTool()ToolBase.ActivateTool()ToolBase.OnActivated()ToolBase.OnDeactivated()ToolBase.RestoreCursor()ToolBase.ToolServiceToolBase.GraphToolBase.IsEnabledToolBase.IsActiveToolBase.NameToolBase.InitialPointToolBase.Cursor...

Constructors

Initializes a new instance of the ConnectionManipulationTool class.

C#
public ConnectionManipulationTool()

Fields

The name of the connection manipulation tool.

C#
public const string ToolName = "ConnectionManipulation Tool"

Properties

Gets or sets the active manipulation point.

C#
public IConnectionEditPoint ActiveManipulationPoint { get; set; }
Property Value:

The active manipulation point.

Methods

Initializes the specified service locator.

C#
public override void Initialize(IGraphServiceLocator serviceLocator)
Parameters:serviceLocatorIGraphServiceLocator

The service locator.

Overrides: ToolBase.Initialize(IGraphServiceLocator)

Handles the key down event.

C#
public virtual bool KeyDown(KeyArgs key)
Parameters:keyKeyArgsReturns:

bool

Implements: IKeyboardListener.KeyDown(KeyArgs)

Handles the key up event.

C#
public virtual bool KeyUp(KeyArgs key)
Parameters:keyKeyArgsReturns:

bool

Implements: IKeyboardListener.KeyUp(KeyArgs)

Handles the mouse double click event.

C#
public virtual bool MouseDoubleClick(PointerArgs e)
Parameters:ePointerArgs

The PointerArgs instance containing the event data.

Returns:

bool

Implements: IMouseListener.MouseDoubleClick(PointerArgs)

Handles the mouse-down event.

C#
public virtual bool MouseDown(PointerArgs e)
Parameters:ePointerArgs

The PointerArgs instance containing the event data.

Returns:

bool

Implements: IMouseListener.MouseDown(PointerArgs)

Handles the mouse-move event.

C#
public virtual bool MouseMove(PointerArgs e)
Parameters:ePointerArgs

The PointerArgs instance containing the event data.

Returns:

bool

Implements: IMouseListener.MouseMove(PointerArgs)

Handles the mouse-up event.

C#
public virtual bool MouseUp(PointerArgs e)
Parameters:ePointerArgs

The PointerArgs instance containing the event data.

Returns:

bool

Implements: IMouseListener.MouseUp(PointerArgs)