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

Responsible for handling the mouse and the keyboard input from RadDiagram.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class DiagramInputBehavior : IDisposable

Inheritance: objectDiagramInputBehavior

Implements: IDisposable

Constructors

C#
public DiagramInputBehavior(RadDiagramElement diagramElement)
Parameters:diagramElementRadDiagramElement

Properties

C#
public virtual RadDiagramElement DiagramElement { get; }

Methods

C#
public void Dispose()

Implements: IDisposable.Dispose()

Handles the KeyDown event from RadDiagram.

C#
public virtual bool HandleKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

The event arguments.

Returns:

bool

[true] if the event should not be processed further, [false] otherwise.

Handles the MouseDown event from RadDiagram.

C#
public virtual bool HandleMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

The event arguments.

Returns:

bool

[true] if the event should not be processed further, [false] otherwise.

Handles the MouseMove event from RadDiagram.

C#
public virtual bool HandleMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

The event arguments.

Returns:

bool

[true] if the event should not be processed further, [false] otherwise.

Handles the MouseUp event from RadDiagram.

C#
public virtual bool HandleMouseUp(MouseEventArgs e)
Parameters:eMouseEventArgs

The event arguments.

Returns:

bool

[true] if the event should not be processed further, [false] otherwise.

C#
protected virtual bool IsConnector(RadElement element)
Parameters:elementRadElementReturns:

bool

C#
protected virtual bool IsElementEditor(RadElement element)
Parameters:elementRadElementReturns:

bool

C#
protected virtual bool IsScrollBar(RadElement element)
Parameters:elementRadElementReturns:

bool