Skip to main content
A newer version of this page is available. .

ISchedulerStorage.GetLabelColor(Object) Method

Obtains the color of the label by the label’s ID.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll

Declaration

Color GetLabelColor(
    object labelId
)

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

Use the GetLabelColor method to obtain the color of a label with a known ID.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetLabelColor(Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also