Back to Devexpress

ResourceMappings.Brush Property

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

latest1.8 KB
Original Source

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

ResourceMappings Class

ResourceMappings Members

DevExpress.Xpf.Scheduling Namespace