TreeMapControl.SelectionMode Property
Gets or sets the selection mode of the TreeMap Control.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
SelectionMode | A SelectionMode enumeration value. |
Available values:
Name | Description |
---|---|
None | Selection is disabled. |
Single | One tree map item can be selected at a time. |
Multiple | Several tree map items can be selected at the same time. |
Extended | Extended single selection mode, allowing you to select several items with SHIFT held down. |
Example
To specify end-user permissions, use the TreeMapControl.SelectionMode
and TreeMapControl.EnableHighlighting properties.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-configure-tree-map-end-user-interaction-permissions-t309113.
<dxtm:TreeMapControl Grid.Column="0"
EnableHighlighting="{Binding ElementName=chkHighlighting, Path=IsChecked}"
SelectionMode="{Binding ElementName=cbSelectionMode, Path=SelectedValue}">
</dxtm:TreeMapControl>
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectionMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.