Skip to main content
A newer version of this page is available. .

StatusMappingInfo.Brush Property

Gets or sets the data source field that stores brush values. These values specify the Appointments’ side strips.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll

Declaration

[DefaultValue("")]
public string Brush { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that is the name of a data source field that stores brush values.

Remarks

A data source field mapped to the Brush property can store values in the following formats:

  • Brush objects
  • System.Drawing.Color values;
  • string values that specify colors in the hexadecimal format;
  • integer 32-bit ARGB values;
  • OLE_COLOR values.
  • Images
  • byte arrays that store images

If the AppointmentStatusDataStorage.BrushSaving property equals its default Auto value, the Scheduler automatically recognizes the value type of a data source field mapped to the Brush property. You can also change the AppointmentStatusDataStorage.BrushSaving property to specify the value type manually. See BrushSavingType enumeration values to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Brush property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also