Appointment.ResourceIds Property

Gets a collection of identifiers of all resources associated with the current appointment.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v21.1.Core.dll


AppointmentResourceIdCollection ResourceIds { get; }

Property Value

Type Description

An AppointmentResourceIdCollection object which contains resource identifiers.


The ResourceIds property specifies the collection of identifiers of all associated resources.

Resources are used to group schedules. An appointment can be associated with a resource, or it can be standalone. To associate an appointment with a resource, add resource identifier to the AppointmentResourceIdCollection collection accessed by the ResourceIds property. Resource identifier is a value of the IPersistentObject.Id property.


If an appointment doesn’t belong to any particular resource (the ResourceIds property is set to the DevExpress.XtraScheduler.Resource.Empty.Id), it is considered assigned to all resources. Hence, this appointment is shown for all resources. Appointments without assigned resources are hidden if the SchedulerOptionsViewBase.ShowOnlyResourceAppointments property is set to true.

See Also