SchedulerSelectionBehavior.IsDateSelected Method
Click or drag to resize
SchedulerSelectionBehaviorIsDateSelected Method
Returns a value indicating whether a cell with specified parameters is currently selected.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler (in Telerik.WinControls.Scheduler.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
public virtual bool IsDateSelected(
	DateTime date,
	TimeSpan duration,
	EventId resourceId,
	bool isAllDayAreaCell
)

Parameters

date
Type: SystemDateTime
The Date of the cell.
duration
Type: SystemTimeSpan
The Duration of the cell.
resourceId
Type: Telerik.WinControls.UIEventId
The ResourceId of the cell.
isAllDayAreaCell
Type: SystemBoolean
A value indicating whether this is an AllDay cell.

Return Value

Type: Boolean
[true] if the cell is selected, [false] otherwise.
See Also