New to Telerik UI for WinFormsStart a free 30-day trial

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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerInputBehavior : IDisposable

Inheritance: objectSchedulerInputBehavior

Implements: IDisposable

Constructors

Creates an input behavior for the specified RadScheduler.

C#
public SchedulerInputBehavior(RadScheduler scheduler)
Parameters:schedulerRadScheduler

Properties

The RadScheduler which owns this behavior.

C#
public RadScheduler Scheduler { get; }

Methods

Deletes the currently selected appointments.

C#
public void DeleteSelectedAppointments()

Releases the managed resources held by this behavior.

C#
public void Dispose()

Implements: IDisposable.Dispose()

Handles the AppointmentElementDoubleClick event from RadScheduler.

C#
public virtual bool HandleAppointmentElementDoubleClick(object sender, EventArgs args)
Parameters:senderobject

The initiator of the event.

argsEventArgs

The event arguments.

Returns:

bool

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

Called when the MouseDown was performed over an AppointmentElement.

C#
protected virtual void HandleAppointmentElementMouseDown(AppointmentElement appointment)
Parameters:appointmentAppointmentElement

The appointment element that was pressed with the mouse.

Handles the CellElementDoubleClick event from RadScheduler.

C#
public virtual bool HandleCellElementDoubleClick(object sender, EventArgs args)
Parameters:senderobject

The initiator of the event.

argsEventArgs

The event arguments.

Returns:

bool

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

Handles the CellElementKeyPress event from RadScheduler.

C#
public virtual bool HandleCellElementKeyPress(object sender, KeyPressEventArgs args)
Parameters:senderobject

The initiator of the event.

argsKeyPressEventArgs

The event arguments.

Returns:

bool

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

Called when the MouseDown was performed over a SchedulerCellElement.

C#
protected virtual void HandleCellElementMouseDown(SchedulerCellElement cell)
Parameters:cellSchedulerCellElement

The cell element that was pressed with the mouse.

Handles the KeyDown event from RadScheduler.

C#
public virtual bool HandleKeyDown(KeyEventArgs args)
Parameters:argsKeyEventArgs

The event arguments.

Returns:

bool

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

Handles the MouseDown event from RadScheduler.

C#
public virtual bool HandleMouseDown(MouseEventArgs args)
Parameters:argsMouseEventArgs

The event arguments.

Returns:

bool

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

Handles the MouseEnter event from RadScheduler.

C#
public virtual bool HandleMouseEnter(EventArgs args)
Parameters:argsEventArgs

The event arguments.

Returns:

bool

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

Handles the MouseLeave event from RadScheduler.

C#
public virtual bool HandleMouseLeave(EventArgs args)
Parameters:argsEventArgs

The event arguments.

Returns:

bool

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

Handles the MouseMove event from RadScheduler.

C#
public virtual bool HandleMouseMove(MouseEventArgs args)
Parameters:argsMouseEventArgs

The event arguments.

Returns:

bool

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

Handles the MouseUp event from RadScheduler.

C#
public virtual bool HandleMouseUp(MouseEventArgs args)
Parameters:argsMouseEventArgs

The event arguments.

Returns:

bool

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

Handles the MouseWheel event from RadScheduler.

C#
public virtual bool HandleMouseWheel(MouseEventArgs args)
Parameters:argsMouseEventArgs

The event arguments.

Returns:

bool

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

C#
public virtual bool HandleNavigationKey(KeyEventArgs args)
Parameters:argsKeyEventArgs

The event arguments.

Returns:

bool

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

C#
protected virtual bool IsRealDrag(Point location)
Parameters:locationPoint

The current mouse pointer location.

Returns:

bool

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

C#
protected virtual void OnBeginEditTimerTick(object sender, EventArgs e)
Parameters:senderobjecteEventArgs
C#
protected virtual bool ShouldScrollAllDayHeader()
Returns:

bool