TreeMapAppearance.SelectedLeafStyle Property
In This Article
Returns the style that applies to selected treemap leaves.
Namespace: DevExpress.XtraTreeMap
Assembly: DevExpress.XtraTreeMap.v24.2.dll
NuGet Package: DevExpress.TreeMap
#Declaration
public TreeMapItemLeafStyle SelectedLeafStyle { get; }
#Property Value
Type | Description |
---|---|
Tree |
The treemap item leaf style. |
#Remarks
The following code customizes the appearance for selected treemap items:
treeMapControl1.SelectionMode = ElementSelectionMode.Single;
treeMapControl1.Appearance.SelectedLeafStyle.Fill = Color.DarkGray;
treeMapControl1.Appearance.SelectedLeafStyle.FillStyle = new SolidFillStyle();
The image below illustrates the results:
See Also