Responsible for handling the mouse and the keyboard input from RadScheduler.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerInputBehavior : IDisposable
Inheritance: objectSchedulerInputBehavior
Implements:
Constructors
Creates an input behavior for the specified RadScheduler.
Properties
The RadScheduler which owns this behavior.
public RadScheduler Scheduler { get; }
Methods
Deletes the currently selected appointments.
public void DeleteSelectedAppointments()
Releases the managed resources held by this behavior.
public void Dispose()
Implements:
Handles the AppointmentElementDoubleClick event from RadScheduler.
Called when the MouseDown was performed over an AppointmentElement.
protected virtual void HandleAppointmentElementMouseDown(AppointmentElement appointment)
The appointment element that was pressed with the mouse.
Handles the CellElementDoubleClick event from RadScheduler.
Handles the CellElementKeyPress event from RadScheduler.
public virtual bool HandleCellElementKeyPress(object sender, KeyPressEventArgs args)
The initiator of the event.
argsKeyPressEventArgsThe event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Called when the MouseDown was performed over a SchedulerCellElement.
protected virtual void HandleCellElementMouseDown(SchedulerCellElement cell)
The cell element that was pressed with the mouse.
Handles the KeyDown event from RadScheduler.
public virtual bool HandleKeyDown(KeyEventArgs args)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Handles the MouseDown event from RadScheduler.
public virtual bool HandleMouseDown(MouseEventArgs args)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Handles the MouseEnter event from RadScheduler.
Handles the MouseLeave event from RadScheduler.
Handles the MouseMove event from RadScheduler.
public virtual bool HandleMouseMove(MouseEventArgs args)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Handles the MouseUp event from RadScheduler.
public virtual bool HandleMouseUp(MouseEventArgs args)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Handles the MouseWheel event from RadScheduler.
public virtual bool HandleMouseWheel(MouseEventArgs args)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Handles the navigation keys pressed on from RadScheduler. The keys considered as navigation keys are: Left, Right, Up, Down, F2, Delete, Escape.
public virtual bool HandleNavigationKey(KeyEventArgs args)
The event arguments.
Returns:[true] if the event should not be processed further, [false] otherwise.
Returns true when the mouse pointer offset compared to the initial mouse down position is large enough to begin a drag operation.