SchedulerViewBase.SetSelection(TimeInterval, Resource) Method
Selects time cells which encompass the specified time interval.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
#Declaration
public virtual void SetSelection(
TimeInterval interval,
Resource resource
)
#Parameters
Name | Type | Description |
---|---|---|
interval | Time |
A Time |
resource | Resource | A Resource object that specifies to which resource the specified time interval belongs. |
#Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.
Use the SetSelection method to select time cells within the view. The Resource object defined via the resource parameter specifies the resource associated with the selected cells when the view is grouped with the SchedulerViewBase.GroupType set to SchedulerGroupType.Resource or SchedulerGroupType.Date values. For a scheduler without resources, specify the ResourceEmpty.Resource value as the resource parameter.
Note
Calling the Set