SchedulerStorage.GetLabelColor(Object) Method
Obtains the color of the label by its ID.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.1.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
Parameters
Name | Type | Description |
---|---|---|
labelId | Object | An object that is the label’s identifier available by the PersistentObject.Id property of the AppointmentLabel object. |
Returns
Type | Description |
---|---|
Color | A Color value that is the label’s color. |
Remarks
Important
This API is intended to be used with the legacy SchedulerStorage only. Starting with version 18.1, SchedulerStorage and all of its satellite storages are replaced with their updated versions.
- SchedulerDataStorage replaces SchedulerStorage
- AppointmentDataStorage replaces AppointmentStorage
- ResourceDataStorage replaces ResourceStorage
- AppointmentDependencyDataStorage replaces AppointmentDependencyStorage
Use the GetLabelColor method to obtain the color of a label with a known ID.
If the label with the specified ID is not found, a default value for the Color is returned.
Implements
See Also