Skip to main content

ASPxSchedulerStorage.GetLabelColor(Object) Method

Obtains the color of the label by its ID.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll

NuGet Package: DevExpress.Web.Scheduler

#Declaration

public 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.

See Also