AppointmentStatusDataStorage.BrushSaving Property

Gets or sets the type of values stored in the data source field mapped to the StatusMappingInfo.Brush property.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

[DefaultValue(BrushSavingType.Auto)]
[DXCategory("Data")]
public BrushSavingType BrushSaving { get; set; }
<DefaultValue(BrushSavingType.Auto)>
<DXCategory("Data")>
Public Property BrushSaving As BrushSavingType

Property Value

Type Default Description
BrushSavingType

Auto

A BrushSavingType enumerator value that specifies the value type.

Remarks

The data source field mapped to the StatusMappingInfo.Brush property can store Status colors in different formats: Brushes, string hexadecimal values, System.Drawing.Color values, integer ARGB values, etc. Depending on the BrushSaving property value, the SchedulerDataStorage expects specific value types.

You can leave the BrushSaving property at its default BrushSavingType.Auto value to let the AppointmentStatusDataStorage automatically recognize value types. If the BrushSaving property is set to an incorrect value, Appointments have no Status labeling.

See the BrushSavingType enumeration values to learn what value types match specific BrushSaving property values.

See Also