Skip to main content

SchedulerColorId Enum

Lists legacy label colors.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

Declaration

public enum SchedulerColorId

Members

Name Description
Nothing

Indicates that the color is specified using the AppointmentLabel.Color property and does not correlate to SchedulerColorId enumeration members.

NoneLabel

The None label color. The legacy default color is shown below:

AppointmentLabel.None

ImportantLabel

The Important label color. The legacy default color is shown below:

AppointmentLabel.Important

BusinessLabel

The Business label color. The legacy default color is shown below:

AppointmentLabel.Business

PersonalLabel

The Personal label color. The legacy default color is shown below:

AppointmentLabel.Personal

VacationLabel

The Vacation label color. The legacy default color is shown below:

AppointmentLabel.Vacation

MustAttendLabel

The Must Attend label color. The legacy default color is shown below:

AppointmentLabel.MustAttend

TravelRequiredLabel

The Travel Required label color. The legacy default color is shown below:

AppointmentLabel.TravelRequired

NeedsPreparationLabel

The Needs Preparation label color. The legacy default color is shown below:

AppointmentLabel.NeedsPreparation

BirthdayLabel

The Birthday label color. The legacy default color is shown below:

AppointmentLabel.Birthday

AnniversaryLabel

The Anniversary label color. The legacy default color is shown below:

AppointmentLabel.Anniversary

PhoneCallLabel

The Phone Call label color. The legacy default color is shown below:

AppointmentLabel.PhoneCall

Remarks

Label colors can be specified in the following manner:

Method Description
Skin Elements Use a skin editor to change label colors. This method is currently available only in Office2016 skins. Use the AppointmentLabel.GetSkinElementName method to obtain a label color defined in a skin.
Legacy Default Colors Colors are assigned when a default appointment label set is created. Colors are determined by the AppointmentLabel.ColorId property and correspond to the SchedulerColorId values. Use the AppointmentLabel.GetDefaultColorByStringId method to obtain colors in code.
Arbitrary Colors The AppointmentLabel.Color property assigns an arbitrary color to the label. In this situation, the AppointmentLabel.ColorId property is SchedulerColorId.Nothing.
See Also