A newer version of this page is available. Switch to the current version.

SchedulerDataStorage.GetLabelColor(Object) Method

Obtains the color of the label by its ID.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll


public Color GetLabelColor(
    object labelId


Name Type Description
labelId Object

An object that is the label’s identifier available by the PersistentObject.Id property of the AppointmentLabel object.


Type Description

A Color value that is the label’s color.


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.

See Also