Skip to main content
A newer version of this page is available.
All docs
V18.2

MVCxSchedulerAgendaView.SetSelection(TimeInterval, Resource) Method

Selects time cells which encompass the specified time interval.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public override void SetSelection(
    TimeInterval interval,
    Resource resource
)

Parameters

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.

Remarks

Use the SetSelection method to select time cells within the Agenda View. The Resource object defined by the resource parameter specifies the resource associated with the selected cells when the view is grouped with the SchedulerSettings.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