Class DiagramInputBehavior
Responsible for handling the mouse and the keyboard input from RadDiagram.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class DiagramInputBehavior : IDisposable
Constructors
DiagramInputBehavior(RadDiagramElement)
Declaration
public DiagramInputBehavior(RadDiagramElement diagramElement)
Parameters
RadDiagramElement
diagramElement
|
Properties
DiagramElement
Declaration
public virtual RadDiagramElement DiagramElement { get; }
Property Value
RadDiagramElement
|
Methods
Dispose()
Declaration
public void Dispose()
Implements
HandleKeyDown(KeyEventArgs)
Handles the KeyDown event from RadDiagram.
Declaration
public virtual bool HandleKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The event arguments. |
Returns
System.Boolean
[true] if the event should not be processed further, [false] otherwise. |
HandleMouseDown(MouseEventArgs)
Handles the MouseDown event from RadDiagram.
Declaration
public virtual bool HandleMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The event arguments. |
Returns
System.Boolean
[true] if the event should not be processed further, [false] otherwise. |
HandleMouseMove(MouseEventArgs)
Handles the MouseMove event from RadDiagram.
Declaration
public virtual bool HandleMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The event arguments. |
Returns
System.Boolean
[true] if the event should not be processed further, [false] otherwise. |
HandleMouseUp(MouseEventArgs)
Handles the MouseUp event from RadDiagram.
Declaration
public virtual bool HandleMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The event arguments. |
Returns
System.Boolean
[true] if the event should not be processed further, [false] otherwise. |
IsConnector(RadElement)
Declaration
protected virtual bool IsConnector(RadElement element)
Parameters
RadElement
element
|
Returns
System.Boolean
|
IsElementEditor(RadElement)
Declaration
protected virtual bool IsElementEditor(RadElement element)
Parameters
RadElement
element
|
Returns
System.Boolean
|
IsScrollBar(RadElement)
Declaration
protected virtual bool IsScrollBar(RadElement element)
Parameters
RadElement
element
|
Returns
System.Boolean
|