DiagramInputBehavior
Responsible for handling the mouse and the keyboard input from RadDiagram.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class DiagramInputBehavior : IDisposable
Inheritance: objectDiagramInputBehavior
Implements:
Constructors
public DiagramInputBehavior(RadDiagramElement diagramElement)
Properties
public virtual RadDiagramElement DiagramElement { get; }
Methods
public void Dispose()
Implements:
Handles the KeyDown event from RadDiagram.
public virtual bool HandleKeyDown(KeyEventArgs e)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Handles the MouseDown event from RadDiagram.
public virtual bool HandleMouseDown(MouseEventArgs e)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Handles the MouseMove event from RadDiagram.
public virtual bool HandleMouseMove(MouseEventArgs e)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Handles the MouseUp event from RadDiagram.
public virtual bool HandleMouseUp(MouseEventArgs e)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.