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.v24.1.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Color property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.