Back to Devexpress

AppointmentLabelMappings.Brush Property

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

latest1.9 KB
Original Source

AppointmentLabelMappings.Brush Property

Gets or sets the mapping that binds the appointment label’s AppointmentLabelItem.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 indicating the data field and converter.

|

Remarks

Use the Brush property to bind the appointment label’s AppointmentLabelItem.Brush property to a data field. The data field is obtained from the data source specified by the DataSource.AppointmentLabelsSource property.

The AppointmentLabelMappings.BrushSavingType property allows you 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.

See Also

AppointmentLabelMappings Class

AppointmentLabelMappings Members

DevExpress.Xpf.Scheduling Namespace