Class
DiagramInputBehavior

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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

cs-api-definition
public class DiagramInputBehavior : IDisposable

Inheritance: objectDiagramInputBehavior

Implements: IDisposable

Constructors

DiagramInputBehavior(RadDiagramElement)

Declaration

cs-api-definition
public DiagramInputBehavior(RadDiagramElement diagramElement)

Parameters

diagramElement

RadDiagramElement

Properties

DiagramElement

Declaration

cs-api-definition
public virtual RadDiagramElement DiagramElement { get; }

Property Value

RadDiagramElement

Methods

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

HandleKeyDown(KeyEventArgs)

Handles the KeyDown event from RadDiagram.

Declaration

cs-api-definition
public virtual bool HandleKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

The event arguments.

Returns

bool

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

HandleMouseDown(MouseEventArgs)

Handles the MouseDown event from RadDiagram.

Declaration

cs-api-definition
public virtual bool HandleMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The event arguments.

Returns

bool

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

HandleMouseMove(MouseEventArgs)

Handles the MouseMove event from RadDiagram.

Declaration

cs-api-definition
public virtual bool HandleMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The event arguments.

Returns

bool

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

HandleMouseUp(MouseEventArgs)

Handles the MouseUp event from RadDiagram.

Declaration

cs-api-definition
public virtual bool HandleMouseUp(MouseEventArgs e)

Parameters

e

MouseEventArgs

The event arguments.

Returns

bool

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

IsConnector(RadElement)

Declaration

cs-api-definition
protected virtual bool IsConnector(RadElement element)

Parameters

element

RadElement

Returns

bool

IsElementEditor(RadElement)

Declaration

cs-api-definition
protected virtual bool IsElementEditor(RadElement element)

Parameters

element

RadElement

Returns

bool

IsScrollBar(RadElement)

Declaration

cs-api-definition
protected virtual bool IsScrollBar(RadElement element)

Parameters

element

RadElement

Returns

bool