AppointmentLabelMappings.Color Property

Gets or sets the mapping that binds the appointment label's AppointmentLabelItem.Color property to the data source field.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public Mapping Color { get; set; }
Public Property Color As Mapping

Property Value

Type Description
Mapping

A Mapping object indicating the data field and converter.

Remarks

TIP

The Brush property is the recommended method to assign colors to labels. The Brush property overrides the Color property. Refer to the Customize Colors topic for more information.

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

The AppointmentLabelMappings.ColorSavingType property allows you define the format in which to store the color information.

Use the Mapping.Converter property to register a value converter for a custom storing format.

See Also