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.v24.2.dll
NuGet Package: DevExpress.Win.Scheduler
#Declaration
[DefaultValue(BrushSavingType.Auto)]
[DXCategory("Data")]
public BrushSavingType BrushSaving { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Brush |
Auto | A Brush |
Available values:
Name | Description |
---|---|
Auto | A data field mapped to the Status |
Ole |
A data field mapped to the Status |
Argb |
A data field mapped to the Status |
Color |
A data field mapped to the Status |
Color |
A data field mapped to the Status |
Image |
A data field mapped to the Status |
Image | A data field mapped to the Status |
Brush | A data field mapped to the Status |
#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.