How to highlight group selection
To Highlight the groupselection, follow the given steps
Step1: Create a treemap sample and include the necessary script files.
Step2:
You can highlight treemap level by setting HighlightGroupOnSelection property of SfTreeMap to “True”. The border of highlight group on selection can be customized by HighlightBorderBrush and HighlightBorderThickness properties of SfTreeMap.
XAML:
<syncfusion:SfTreeMap x:Name="treemap"
HighlightGroupOnSelection="True"
HighlightBorderBrush="Red" HighlightBorderThickness="2"
Grid.Row="1" ItemsSource="{Binding}"
WeightValuePath="Sales"
ColorValuePath="Expense">
</syncfusion:SfTreeMap>
The following screenshot shows the highlightgrouponselection property,