wpf-devexpress-dot-xpf-dot-scheduling-dot-timeregionmappings-e277b37d.md
Specifies the type of format used to store the brush information.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
[DefaultValue(BrushSavingType.Auto)]
public BrushSavingType BrushSavingType { get; set; }
<DefaultValue(BrushSavingType.Auto)>
Public Property BrushSavingType As BrushSavingType
| Type | Default | Description |
|---|---|---|
| BrushSavingType | Auto |
A DevExpress.Xpf.Scheduling.BrushSavingType enumeration value indicating the format type to store the brush information.
|
Available values:
| Name | Description |
|---|---|
| Auto |
The data format for storing a brush is determined automatically based on the type of the mapped field, which is specified using the AppointmentStatusMappings.Brush mapping
| | OleColor |
Stores the brush setting in OLE_COLOR format
| | ArgbColor |
Stores the brush setting in ARGB format.
| | ColorString |
Stores the brush setting as the color ARGB value formatted as a hexadecimal string and prefixed with “0x”. That is, the Colors.Red is stored as “0xFFFF0000”.
| | ColorInstance |
Stores the brush setting as a Color instance.
| | ImageBytes |
Stores the brush setting as a byte array image.
| | ImageSource |
Stores the brush setting as a ImageSource descendant.
| | Brush |
Stores the brush setting as a Brush instance.
|
See Also