All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SchedulerItemBase.ResourceIds Property

Provides access to the collection of identifiers of the associated resources.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public DXObservableCollection<object> ResourceIds { get; }
Public ReadOnly Property ResourceIds As DXObservableCollection(Of Object)

Property Value

Type Description
DevExpress.Mvvm.Native.DXObservableCollection<Object>

A collection of resource identifiers.

Remarks

To associate an appointment with a resource, add the resource's SourceObjectContainer.Id value to the ResourceIds collection.

To assign an appointment to several resources, add their SourceObjectContainer.Id property values to the ResourceIds collection.

The image below demonstrates shared resources.

ResourceSharedDiagram

The ResourceId property returns the first resource identifier or the ResourceItemEmpty.Id value if no resources are assigned (default).

The SchedulerItemBaseMappings.ResourceId property specifies the mapping that binds the appointment's ResourceId property to the data source field.

NOTE

If an appointment doesn't belong to any particular resource, the scheduler shows it for all resources when the SchedulerControl.GroupType property is set to the SchedulerGroupType.Resource or SchedulerGroupType.Date value.

See Also