Class SchedulerInputBehavior
Responsible for handling the mouse and the keyboard input from RadScheduler.
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 RadScheduler.
Declaration
public SchedulerInputBehavior(RadScheduler scheduler)
Parameters
|
RadScheduler
scheduler
|
Properties
Scheduler
The RadScheduler which owns this behavior.
Declaration
public RadScheduler Scheduler { get; }
Property Value
|
RadScheduler
|
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.
Declaration
public virtual bool HandleAppointmentElementDoubleClick(object sender, EventArgs args)
Parameters
|
System.Object
sender
The initiator of the event. |
|
System.EventArgs
args
The event arguments. |
Returns
|
System.Boolean
[true] if the event should not be processed further, [false] otherwise. |
HandleAppointmentElementMouseDown(AppointmentElement)
Called when the MouseDown was performed over an AppointmentElement.
Declaration
protected virtual void HandleAppointmentElementMouseDown(AppointmentElement appointment)
Parameters
|
AppointmentElement
appointment
The appointment element that was pressed with the mouse. |
HandleCellElementDoubleClick(Object, EventArgs)
Handles the CellElementDoubleClick event from RadScheduler.
Declaration
public virtual bool HandleCellElementDoubleClick(object sender, EventArgs args)
Parameters
|
System.Object
sender
The initiator of the event. |
|
System.EventArgs
args
The event arguments. |
Returns
|
System.Boolean
[true] if the event should not be processed further, [false] otherwise. |
HandleCellElementKeyPress(Object, KeyPressEventArgs)
Handles the CellElementKeyPress event from RadScheduler.
Declaration
public virtual bool HandleCellElementKeyPress(object sender, KeyPressEventArgs args)
Parameters
|
System.Object
sender
The initiator of the event. |
|
System.Windows.Forms.KeyPressEventArgs
args
The event arguments. |
Returns
|
System.Boolean
[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
|
SchedulerCellElement
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
|
System.Windows.Forms.KeyEventArgs
args
The event arguments. |
Returns
|
System.Boolean
[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
|
System.Windows.Forms.MouseEventArgs
args
The event arguments. |
Returns
|
System.Boolean
[true] if the event should not be processed further, [false] otherwise. |
HandleMouseEnter(EventArgs)
Handles the MouseEnter event from RadScheduler.
Declaration
public virtual bool HandleMouseEnter(EventArgs args)
Parameters
|
System.EventArgs
args
The event arguments. |
Returns
|
System.Boolean
[true] if the event should not be processed further, [false] otherwise. |
HandleMouseLeave(EventArgs)
Handles the MouseLeave event from RadScheduler.
Declaration
public virtual bool HandleMouseLeave(EventArgs args)
Parameters
|
System.EventArgs
args
The event arguments. |
Returns
|
System.Boolean
[true] if the event should not be processed further, [false] otherwise. |
HandleMouseMove(MouseEventArgs)
Handles the MouseMove event from RadScheduler.
Declaration
public virtual bool HandleMouseMove(MouseEventArgs args)
Parameters
|
System.Windows.Forms.MouseEventArgs
args
The event arguments. |
Returns
|
System.Boolean
[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
|
System.Windows.Forms.MouseEventArgs
args
The event arguments. |
Returns
|
System.Boolean
[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
|
System.Windows.Forms.MouseEventArgs
args
The event arguments. |
Returns
|
System.Boolean
[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.Drawing.Point
location
The current mouse pointer location. |
Returns
|
System.Boolean
[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.Object
sender
|
|
System.EventArgs
e
|
ShouldScrollAllDayHeader()
Declaration
protected virtual bool ShouldScrollAllDayHeader()
Returns
|
System.Boolean
|