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.v24.2.dll
NuGet Package: DevExpress.Win.Scheduler
#Declaration
[DefaultValue(DXColorSavingType.Auto)]
[DXCategory("Data")]
public DXColorSavingType ColorSaving { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
DXColor |
Auto | A DXColor |
Available values:
Name | Description |
---|---|
Auto | A data field mapped to the Label |
Ole |
A data field mapped to the Label |
Argb |
A data field mapped to the Label |
Color |
A data field mapped to the Label |
Color |
A data field mapped to the Label |
#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.