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:
public class SchedulerCellSelectingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsSchedulerCellSelectingEventArgs
Inherited Members
Constructors
Creates cancellable event data for a proposed cell selection.
public SchedulerCellSelectingEventArgs(SchedulerCellElement cell, DateTime selectionStartDate, DateTime selectionEndDate, EventId resourceId, bool extendSelection)
The cell being selected, or null when clearing the selection.
selectionStartDateDateTimeThe start of the proposed selected range.
selectionEndDateDateTimeThe end of the proposed selected range.
resourceIdEventIdThe resource for the proposed selection; when null, the cell's resource is used if a cell is supplied.
extendSelectionbooltrue to extend the current selection; otherwise, replace it with the proposed range.
Properties
Gets the cell that is being selected.
public SchedulerCellElement Cell { get; }
Indicates whether this selection operation will extend the current selection (e.g. when selecting cells when holding Shift down).
public bool ExtendSelection { get; }
The end date of the range that is going to be selected.
public DateTime SelectionEndDate { get; }
The id of the resource in which the selection is going to be performed.
public EventId SelectionResourceId { get; }
The start date of the range that is going to be selected.
public DateTime SelectionStartDate { get; }