Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerControl.SelectedResource Property

Gets or sets the resource related to the currently selected in the SchedulerControl. This is an dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

[Browsable(false)]
public ResourceItem SelectedResource { get; set; }

#Property Value

Type Description
ResourceItem

A ResourceItem object which is the selected resource.

#Remarks

The SelectedResource property is set to an empty resource (i.e., the resource ID is equal to EmptyResourceId.Id value) if the Scheduler’s SchedulerControl.GroupType property is set to None.

Use the SchedulerControl.SelectedResourceSource property to bind the selected resources to a source object.

View Example: Obtain Selected Appointment, Resource, and Time Interval

See Also