SchedulerViewBase.SetSelection(TimeInterval, Resource) Method
In This Article
Makes a specific time interval selected within the view.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
interval | Time |
A DevExpress. |
resource | Resource | A Resource object that specifies to which resource the specified time interval belongs. |
#Remarks
Use the SetSelection method to select a specific time interval within the view. The Resource object defined via the resource parameter, specifies the resource which will contain the specified time interval when grouping (by resources or by date) is applied to the view.
Calling the SetSelection method results in the SchedulerControl.SelectionChanged event being invoked.
See Also