Skip to main content

TreeMapAppearance.SelectedLeafStyle Property

Returns the style that applies to selected treemap leaves.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v24.2.dll

Declaration

public TreeMapItemLeafStyle SelectedLeafStyle { get; }

Property Value

Type Description
TreeMapItemLeafStyle

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:

image

See Also