Back to Devexpress

How to: Configure Highlighting and Selection

wpf-114976-controls-and-libraries-treemap-control-end-user-interaction-examples-how-to-configure-highlighting-and-selection.md

latest656 B
Original Source

How to: Configure Highlighting and Selection

  • Jun 07, 2019

To specify end-user permissions, use the TreeMapControl.SelectionMode and TreeMapControl.EnableHighlighting properties.

xaml
<dxtm:TreeMapControl Grid.Column="0"
                     EnableHighlighting="{Binding ElementName=chkHighlighting, Path=IsChecked}"
                     SelectionMode="{Binding ElementName=cbSelectionMode, Path=SelectedValue}">
</dxtm:TreeMapControl>