wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentstatusmappings.md
Specifies the mapping that binds the appointment label’s AppointmentStatusItem.Brush property to the data source field.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public Mapping Brush { get; set; }
Public Property Brush As Mapping
| Type | Description |
|---|---|
| Mapping |
A Mapping object that indicates the data field and converter.
|
Use the Brush property to bind the appointment status’s AppointmentStatusItem.Brush property to a data field. The data field is obtained from the data source specified by the DataSource.AppointmentStatusesSource property.
The AppointmentStatusMappings.BrushSavingType property allows you to define the format in which to store the brush information.
Tip
Use the Mapping.Converter property to register a value converter for a custom storing format.
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.
<dxsch:AppointmentStatusMappings
Brush="Brush"
Caption="Caption"
See Also
AppointmentStatusMappings Class