Back to Devexpress

SchedulerControl.SelectedResource Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-18226c03.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
[Browsable(false)]
public ResourceItem SelectedResource { get; set; }
vb
<Browsable(False)>
Public Property SelectedResource As ResourceItem

Property Value

TypeDescription
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

Selection

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace