ClassSchedulerInputBehavior
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
SchedulerInputBehavior(RadScheduler)
Creates an input behavior for the specified RadScheduler.
Declaration
public SchedulerInputBehavior(RadScheduler scheduler)
Parameters
scheduler
Properties
Scheduler
The RadScheduler which owns this behavior.
Methods
DeleteSelectedAppointments()
Deletes the currently selected appointments.
Declaration
public void DeleteSelectedAppointments()
Dispose()
Releases the managed resources held by this behavior.
Declaration
public void Dispose()
Implements
HandleAppointmentElementDoubleClick(object, EventArgs)
Handles the AppointmentElementDoubleClick event from RadScheduler.
HandleAppointmentElementMouseDown(AppointmentElement)
Called when the MouseDown was performed over an AppointmentElement.
Declaration
protected virtual void HandleAppointmentElementMouseDown(AppointmentElement appointment)
Parameters
appointment
The appointment element that was pressed with the mouse.
HandleCellElementDoubleClick(object, EventArgs)
Handles the CellElementDoubleClick event from RadScheduler.
HandleCellElementKeyPress(object, KeyPressEventArgs)
Handles the CellElementKeyPress event from RadScheduler.
Declaration
public virtual bool HandleCellElementKeyPress(object sender, KeyPressEventArgs args)
Parameters
sender
The initiator of the event.
args
The event arguments.
Returns
[true] if the event should not be processed further, [false] otherwise.
HandleCellElementMouseDown(SchedulerCellElement)
Called when the MouseDown was performed over a SchedulerCellElement.
Declaration
protected virtual void HandleCellElementMouseDown(SchedulerCellElement cell)
Parameters
cell
The cell element that was pressed with the mouse.
HandleKeyDown(KeyEventArgs)
Handles the KeyDown event from RadScheduler.
Declaration
public virtual bool HandleKeyDown(KeyEventArgs args)
Parameters
args
The event arguments.
Returns
[true] if the event should not be processed further, [false] otherwise.
HandleMouseDown(MouseEventArgs)
Handles the MouseDown event from RadScheduler.
Declaration
public virtual bool HandleMouseDown(MouseEventArgs args)
Parameters
args
The event arguments.
Returns
[true] if the event should not be processed further, [false] otherwise.
HandleMouseEnter(EventArgs)
Handles the MouseEnter event from RadScheduler.
HandleMouseLeave(EventArgs)
Handles the MouseLeave event from RadScheduler.
HandleMouseMove(MouseEventArgs)
Handles the MouseMove event from RadScheduler.
Declaration
public virtual bool HandleMouseMove(MouseEventArgs args)
Parameters
args
The event arguments.
Returns
[true] if the event should not be processed further, [false] otherwise.
HandleMouseUp(MouseEventArgs)
Handles the MouseUp event from RadScheduler.
Declaration
public virtual bool HandleMouseUp(MouseEventArgs args)
Parameters
args
The event arguments.
Returns
[true] if the event should not be processed further, [false] otherwise.
HandleMouseWheel(MouseEventArgs)
Handles the MouseWheel event from RadScheduler.
Declaration
public virtual bool HandleMouseWheel(MouseEventArgs args)
Parameters
args
The event arguments.
Returns
[true] if the event should not be processed further, [false] otherwise.
HandleNavigationKey(KeyEventArgs)
Handles the navigation keys pressed on from RadScheduler. The keys considered as navigation keys are: Left, Right, Up, Down, F2, Delete, Escape.
Declaration
public virtual bool HandleNavigationKey(KeyEventArgs args)
Parameters
args
The event arguments.
Returns
[true] if the event should not be processed further, [false] otherwise.
IsRealDrag(Point)
Returns true when the mouse pointer offset compared to the initial mouse down position is large enough to begin a drag operation.