Skip to main content

ResourceMappings.Brush Property

Specifies the mapping that binds the resource’s ResourceItem.Brush property to the data source field.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public Mapping Brush { get; set; }

Property Value

Type Description
Mapping

A Mapping object indicating the data field and the converter.

Remarks

Use the Brush property to bind the resource’s ResourceItem.Brush property to a data field. The data field is obtained from the data source specified by the DataSource.ResourcesSource property.

The ResourceMappings.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