Back to Devexpress

ResourceMappings.Color Property

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

latest2.0 KB
Original Source

ResourceMappings.Color Property

Specifies the mapping that binds the resource’s ResourceItem.Color 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 Color { get; set; }
vb
Public Property Color As Mapping

Property Value

TypeDescription
Mapping

A Mapping object indicating the data field and the converter.

|

Remarks

Tip

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

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

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