Skip to main content
All docs
V25.1
  • ResourceMappings.BrushSavingType Property

    Specifies the format type used to store the brush information.

    Namespace: DevExpress.Xpf.Scheduling

    Assembly: DevExpress.Xpf.Scheduling.v25.1.dll

    NuGet Package: DevExpress.Wpf.Scheduling

    Declaration

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

    Property Value

    Type Default Description
    BrushSavingType Auto

    A 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