Skip to main content

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