New to Telerik UI for WinForms? Start a free 30-day trial

Describes a proposed cell selection or selection reset; setting Cancel prevents it from being applied.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerCellSelectingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsSchedulerCellSelectingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Creates cancellable event data for a proposed cell selection.

C#
public SchedulerCellSelectingEventArgs(SchedulerCellElement cell, DateTime selectionStartDate, DateTime selectionEndDate, EventId resourceId, bool extendSelection)
Parameters:cellSchedulerCellElement

The cell being selected, or null when clearing the selection.

selectionStartDateDateTime

The start of the proposed selected range.

selectionEndDateDateTime

The end of the proposed selected range.

resourceIdEventId

The resource for the proposed selection; when null, the cell's resource is used if a cell is supplied.

extendSelectionbool

true to extend the current selection; otherwise, replace it with the proposed range.

Properties

Gets the cell that is being selected.

C#
public SchedulerCellElement Cell { get; }

Indicates whether this selection operation will extend the current selection (e.g. when selecting cells when holding Shift down).

C#
public bool ExtendSelection { get; }

The end date of the range that is going to be selected.

C#
public DateTime SelectionEndDate { get; }

The id of the resource in which the selection is going to be performed.

C#
public EventId SelectionResourceId { get; }

The start date of the range that is going to be selected.

C#
public DateTime SelectionStartDate { get; }