Back to Devexpress

AppointmentStatusMappings.Brush Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentstatusmappings.md

latest2.9 KB
Original Source

AppointmentStatusMappings.Brush Property

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

Declaration

csharp
public Mapping Brush { get; set; }
vb
Public Property Brush As Mapping

Property Value

TypeDescription
Mapping

A Mapping object that indicates the data field and converter.

|

Remarks

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.

wpf-scheduler-implement-custom-appointment-labels-and-statuses/CS/CustomLabelsAndStatusesExample/MainWindow.xaml#L30

xml
<dxsch:AppointmentStatusMappings
    Brush="Brush"
    Caption="Caption"

See Also

AppointmentStatusMappings Class

AppointmentStatusMappings Members

DevExpress.Xpf.Scheduling Namespace