Class
SchedulerInputBehavior

Responsible for handling the mouse and the keyboard input from RadScheduler.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class SchedulerInputBehavior : IDisposable

Inheritance: objectSchedulerInputBehavior

Implements: IDisposable

Constructors

SchedulerInputBehavior(RadScheduler)

Creates an input behavior for the specified RadScheduler.

Declaration

cs-api-definition
public SchedulerInputBehavior(RadScheduler scheduler)

Parameters

scheduler

RadScheduler

Properties

Scheduler

The RadScheduler which owns this behavior.

Declaration

cs-api-definition
public RadScheduler Scheduler { get; }

Property Value

RadScheduler

Methods

DeleteSelectedAppointments()

Deletes the currently selected appointments.

Declaration

cs-api-definition
public void DeleteSelectedAppointments()

Dispose()

Releases the managed resources held by this behavior.

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

HandleAppointmentElementDoubleClick(object, EventArgs)

Handles the AppointmentElementDoubleClick event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleAppointmentElementDoubleClick(object sender, EventArgs args)

Parameters

sender

object

The initiator of the event.

args

EventArgs

The event arguments.

Returns

bool

[true] if the event should not be processed further, [false] otherwise.

HandleAppointmentElementMouseDown(AppointmentElement)

Called when the MouseDown was performed over an AppointmentElement.

Declaration

cs-api-definition
protected virtual void HandleAppointmentElementMouseDown(AppointmentElement appointment)

Parameters

appointment

AppointmentElement

The appointment element that was pressed with the mouse.

HandleCellElementDoubleClick(object, EventArgs)

Handles the CellElementDoubleClick event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleCellElementDoubleClick(object sender, EventArgs args)

Parameters

sender

object

The initiator of the event.

args

EventArgs

The event arguments.

Returns

bool

[true] if the event should not be processed further, [false] otherwise.

HandleCellElementKeyPress(object, KeyPressEventArgs)

Handles the CellElementKeyPress event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleCellElementKeyPress(object sender, KeyPressEventArgs args)

Parameters

sender

object

The initiator of the event.

args

KeyPressEventArgs

The event arguments.

Returns

bool

[true] if the event should not be processed further, [false] otherwise.

HandleCellElementMouseDown(SchedulerCellElement)

Called when the MouseDown was performed over a SchedulerCellElement.

Declaration

cs-api-definition
protected virtual void HandleCellElementMouseDown(SchedulerCellElement cell)

Parameters

cell

SchedulerCellElement

The cell element that was pressed with the mouse.

HandleKeyDown(KeyEventArgs)

Handles the KeyDown event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleKeyDown(KeyEventArgs args)

Parameters

args

KeyEventArgs

The event arguments.

Returns

bool

[true] if the event should not be processed further, [false] otherwise.

HandleMouseDown(MouseEventArgs)

Handles the MouseDown event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleMouseDown(MouseEventArgs args)

Parameters

args

MouseEventArgs

The event arguments.

Returns

bool

[true] if the event should not be processed further, [false] otherwise.

HandleMouseEnter(EventArgs)

Handles the MouseEnter event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleMouseEnter(EventArgs args)

Parameters

args

EventArgs

The event arguments.

Returns

bool

[true] if the event should not be processed further, [false] otherwise.

HandleMouseLeave(EventArgs)

Handles the MouseLeave event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleMouseLeave(EventArgs args)

Parameters

args

EventArgs

The event arguments.

Returns

bool

[true] if the event should not be processed further, [false] otherwise.

HandleMouseMove(MouseEventArgs)

Handles the MouseMove event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleMouseMove(MouseEventArgs args)

Parameters

args

MouseEventArgs

The event arguments.

Returns

bool

[true] if the event should not be processed further, [false] otherwise.

HandleMouseUp(MouseEventArgs)

Handles the MouseUp event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleMouseUp(MouseEventArgs args)

Parameters

args

MouseEventArgs

The event arguments.

Returns

bool

[true] if the event should not be processed further, [false] otherwise.

HandleMouseWheel(MouseEventArgs)

Handles the MouseWheel event from RadScheduler.

Declaration

cs-api-definition
public virtual bool HandleMouseWheel(MouseEventArgs args)

Parameters

args

MouseEventArgs

The event arguments.

Returns

bool

[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

cs-api-definition
public virtual bool HandleNavigationKey(KeyEventArgs args)

Parameters

args

KeyEventArgs

The event arguments.

Returns

bool

[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.

Declaration

cs-api-definition
protected virtual bool IsRealDrag(Point location)

Parameters

location

Point

The current mouse pointer location.

Returns

bool

[true] if the offset is enough to begin drag, [false] otherwise.

OnBeginEditTimerTick(object, EventArgs)

Declaration

cs-api-definition
protected virtual void OnBeginEditTimerTick(object sender, EventArgs e)

Parameters

sender

object

e

EventArgs

ShouldScrollAllDayHeader()

Declaration

cs-api-definition
protected virtual bool ShouldScrollAllDayHeader()

Returns

bool