SchedulerViewBase.SetSelection(TimeInterval, Resource) Method

Selects time cells which encompass the specified time interval.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v21.2.dll


public virtual void SetSelection(
    TimeInterval interval,
    Resource resource


Name Type Description
interval TimeInterval

A TimeInterval object that specifies the time interval to select.

resource Resource

A Resource object that specifies to which resource the specified time interval belongs.


Use the SetSelection method to select time cells within the view. The Resource object defined by the resource parameter specifies the resource associated with the selected cells when the view is grouped with the ASPxScheduler.GroupType set to the SchedulerGroupType.Resource or SchedulerGroupType.Date values. For a scheduler without resources, specify the ResourceEmpty.Resource value as the resource parameter.

See Also