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

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.v19.1.dll

Declaration

public Mapping Color { get; set; }

Property Value

Type Description
Mapping

A Mapping object indicating the data field and converter.

Remarks

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.

Tip

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the Color 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