AppointmentLabelDataStorage.ColorSaving Property

Gets or sets the type of values stored in the data source field mapped to the LabelMappingInfo.Color property.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

[DefaultValue(DXColorSavingType.Auto)]
[DXCategory("Data")]
public DXColorSavingType ColorSaving { get; set; }
<DefaultValue(DXColorSavingType.Auto)>
<DXCategory("Data")>
Public Property ColorSaving As DXColorSavingType

Property Value

Type Default Description
DXColorSavingType

Auto

A DXColorSavingType enumerator value that specifies the value type.

Remarks

The data source field mapped to the LabelMappingInfo.Color property can store colors in different formats: string hexadecimal values, System.Drawing.Color values, integer ARGB values, etc. Depending on the ColorSaving property value, the SchedulerDataStorage expects specific Color value types.

You can leave the ColorSaving property at its default DXColorSavingType.Auto value to let the AppointmentLabelDataStorage automatically recognize the Color values' type. If the ColorSaving property is set to an incorrect value, Appointments have no color labeling.

See the DXColorSavingType enumeration values to learn what Color value types match specific ColorSaving property values.

See Also