DashboardControlBase.TreemapItemStyleSelector Property
Gets or sets an object that returns a style based on custom logic. This is a dependency property.
Namespace: DevExpress.DashboardWpf
Assembly: DevExpress.Xpf.Dashboard.v24.1.dll
NuGet Package: DevExpress.Wpf.Dashboard
Declaration
Property Value
Type | Description |
---|---|
StyleSelector | An object that applies styles based on custom logic. |
Remarks
Use the TreemapItemStyleSelector property to apply a style to the TreemapItemStyle property based on custom logic.
To accomplish this, take the following steps:
- Implement a class that descends from the StyleSelector class.
- Implement the SelectStyle method that returns the style based on custom logic.
- Instantiate the class and assign it to the TreemapItemStyleSelector property.
The style specified by the TreemapItemStyleSelector property has priority over the style specified by the TreemapItemStyle property. If the TreemapItemStyleSelector property is null, the TreemapItemStyle property is in effect.
See Also