Class SchedulerInputBehavior
Responsible for handling the mouse and the keyboard input from Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class SchedulerInputBehavior : IDisposable
Constructors
SchedulerInputBehavior(RadScheduler)
Creates an input behavior for the specified Rad
Declaration
public SchedulerInputBehavior(RadScheduler scheduler)
Parameters
Rad
|
Properties
Scheduler
The Rad
Declaration
public RadScheduler Scheduler { get; }
Property Value
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 Rad
Declaration
public virtual bool HandleAppointmentElementDoubleClick(object sender, EventArgs args)
Parameters
System. The initiator of the event. |
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleAppointmentElementMouseDown(AppointmentElement)
Called when the MouseDown was performed over an Appointment
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 Rad
Declaration
public virtual bool HandleCellElementDoubleClick(object sender, EventArgs args)
Parameters
System. The initiator of the event. |
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleCellElementKeyPress(Object, KeyPressEventArgs)
Handles the CellElementKeyPress event from Rad
Declaration
public virtual bool HandleCellElementKeyPress(object sender, KeyPressEventArgs args)
Parameters
System. The initiator of the event. |
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleCellElementMouseDown(SchedulerCellElement)
Called when the MouseDown was performed over a Scheduler
Declaration
protected virtual void HandleCellElementMouseDown(SchedulerCellElement cell)
Parameters
Scheduler The cell element that was pressed with the mouse. |
HandleKeyDown(KeyEventArgs)
Handles the KeyDown event from Rad
Declaration
public virtual bool HandleKeyDown(KeyEventArgs args)
Parameters
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleMouseDown(MouseEventArgs)
Handles the MouseDown event from Rad
Declaration
public virtual bool HandleMouseDown(MouseEventArgs args)
Parameters
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleMouseEnter(EventArgs)
Handles the MouseEnter event from Rad
Declaration
public virtual bool HandleMouseEnter(EventArgs args)
Parameters
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleMouseLeave(EventArgs)
Handles the MouseLeave event from Rad
Declaration
public virtual bool HandleMouseLeave(EventArgs args)
Parameters
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleMouseMove(MouseEventArgs)
Handles the MouseMove event from Rad
Declaration
public virtual bool HandleMouseMove(MouseEventArgs args)
Parameters
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleMouseUp(MouseEventArgs)
Handles the MouseUp event from Rad
Declaration
public virtual bool HandleMouseUp(MouseEventArgs args)
Parameters
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleMouseWheel(MouseEventArgs)
Handles the MouseWheel event from Rad
Declaration
public virtual bool HandleMouseWheel(MouseEventArgs args)
Parameters
System. The event arguments. |
Returns
System. [true] if the event should not be processed further, [false] otherwise. |
HandleNavigationKey(KeyEventArgs)
IsRealDrag(Point)
Returns true when the mouse pointer offset compared to the initial mouse down position is large enough to begin a drag operation.
Declaration
protected virtual bool IsRealDrag(Point location)
Parameters
System. The current mouse pointer location. |
Returns
System. [true] if the offset is enough to begin drag, [false] otherwise. |
OnBeginEditTimerTick(Object, EventArgs)
Declaration
protected virtual void OnBeginEditTimerTick(object sender, EventArgs e)
Parameters
System.
|
System.
|
ShouldScrollAllDayHeader()
Declaration
protected virtual bool ShouldScrollAllDayHeader()
Returns
System.
|