Back to Devexpress

TimeRegionMappings.BrushSavingType Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-timeregionmappings-e277b37d.md

latest2.4 KB
Original Source

TimeRegionMappings.BrushSavingType Property

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

Declaration

csharp
[DefaultValue(BrushSavingType.Auto)]
public BrushSavingType BrushSavingType { get; set; }
vb
<DefaultValue(BrushSavingType.Auto)>
Public Property BrushSavingType As BrushSavingType

Property Value

TypeDefaultDescription
BrushSavingTypeAuto

A DevExpress.Xpf.Scheduling.BrushSavingType enumeration value indicating the format type to store the brush information.

|

Available values:

NameDescription
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

TimeRegionMappings Class

TimeRegionMappings Members

DevExpress.Xpf.Scheduling Namespace