Back to Devexpress

DXColorSavingType Enum

windowsforms-devexpress-dot-xtrascheduler-4cd3c6e3.md

latest2.7 KB
Original Source

DXColorSavingType Enum

Provides values that specify the type of values stored in the data source field mapped to the LabelMappingInfo.Color property.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public enum DXColorSavingType
vb
Public Enum DXColorSavingType

Members

NameDescription
Auto

A data field mapped to the LabelMappingInfo.Color property can store values of any supported type. A correct value type is determined automatically.

| | OleColor |

A data field mapped to the LabelMappingInfo.Color property must store OLE_Color values.

| | ArgbColor |

A data field mapped to the LabelMappingInfo.Color property must store 32-bit ARGB values (integer values in the “AARRGGBB” format, e.g. “-65536” for red). You can retrieve integer ARGB values using the Color.ToArgb method.

| | ColorString |

A data field mapped to the LabelMappingInfo.Color property must store string values that specify colors in the hexadecimal format (e.g., “0xFFFF0000” for red).

| | ColorInstance |

A data field mapped to the LabelMappingInfo.Color property must store System.Drawing.Color type values.

|

The following properties accept/return DXColorSavingType values:

Remarks

The DXColorSavingType enumeration values are assigned to the AppointmentLabelDataStorage.ColorSaving property.

See Also

ColorSaving

DevExpress.XtraScheduler Namespace