Skip to main content
All docs
V19.1

Member Table: Resources

  • 2 minutes to read

Below is the list of the primary members which can be used to manage resources in the XtraScheduler suite.

Public Properties

Name Description
SchedulerStorage.Resources Gets the object which manages resources for appointments. Using the members of the ResourceStorage object, you can specify the data source that contains resources, access an object that allows the persistent properties of resources to be mapped to the corresponding data fields, access a collection of resources, or an individual resource.
ResourceStorageBase.Items Gets the collection of resources within the storage.
ResourceStorage.Mappings Gets an object that allows the persistent properties of the resources maintained by the current storage to be bound to appropriate fields in the data source.
UserInterfaceObject.Id Bindable. Gets the resource’s unique identifier.
Resource.Caption Bindable. Gets or sets the resource’s caption.
Resource.ColorValue Gets or sets the resource’s color.
Resource.ImageBytes Gets or sets the resource’s image.
Resource.Visible Gets or sets whether the resource is visible.
SchedulerControl.ResourceColorSchemas Gets the color schemas used to paint resource columns in a grouped view.
AppointmentStorageBase.ResourceSharing Gets or sets a value indicating whether an appointment could be shared between multiple resources.
Appointment.ResourceId Bindable. Gets or sets the unique identifier of the resource associated with the current appointment (this property is in use if the AppointmentStorageBase.ResourceSharing property is set to false).
Appointment.ResourceIds Bindable. Gets or sets the identifiers of all the resources which are associated with the current appointment (this property is in use if the AppointmentStorageBase.ResourceSharing property is set to true).

Public Events

Name Description
SchedulerStorageBase.ResourceInserting Fires when a new appointment is about to be added to the persistent storage.
SchedulerStorageBase.ResourcesInserted Occurs after a new appointment is added to the persistent storage.
SchedulerStorageBase.ResourceChanging Fires when an appointment is about to be modified.
SchedulerStorageBase.ResourcesChanged Occurs when appointments have been changed.
SchedulerStorageBase.ResourceDeleting Fires when the appointment is about to be deleted.
SchedulerStorageBase.ResourcesDeleted Occurs when appointments have been deleted.