Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ResourceMappings.ColorSavingType Property

Gets or sets the format type to store the color information.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

[DefaultValue(DXColorSavingType.Auto)]
public DXColorSavingType ColorSavingType { get; set; }

#Property Value

Type Default Description
DXColorSavingType Auto

A DXColorSavingType enumeration value indicating the color saving format.

Available values:

Name Description
Auto

The data format for storing a color is determined automatically based on the type of the field mapped to the Color property. The fallback value is DXColorSavingType.ArgbColor.

OleColor

Stores the color setting in OLE_COLOR format.

ArgbColor

Stores the color setting in ARGB format.

ColorString

Stores the color setting as the ARGB value formatted as a hexadecimal string and prefixed with “0x”. That is, the Colors.Red is stored as “0xFFFF0000”.

ColorInstance

Stores the color setting as an Color instance.

See Also