Articles in this section
Category / Section

How to highlight group selection

1 min read

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,

Highlight group selection in SfTreeMap control

                   

       

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied