LabelMappingInfo.Color Property

Gets or sets the data source field that stores color values. These values specify the Appointments' background colors.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

[DefaultValue("")]
public string Color { get; set; }
<DefaultValue("")>
Public Property Color As String

Property Value

Type Default Description
String

String.Empty

A String value that is the name of a data source field that stores color values.

Remarks

A data source field mapped to the Color property can store values in the following formats:

  • System.Drawing.Color values;
  • string values that specify colors in the hexadecimal format;
  • integer 32-bit ARGB values;
  • OLE_COLOR values.

If the AppointmentLabelDataStorage.ColorSaving property equals its default Auto value, the Scheduler automatically recognizes the value type of a data source field mapped to the Color property. You can also change the AppointmentLabelDataStorage.ColorSaving property to specify the value type manually. See DXColorSavingType enumeration values to learn more.

See Also