Skip to main content
A newer version of this page is available.
All docs
V19.2

TreeMapControl.SelectionMode Property

Gets or sets the selection mode of the TreeMap Control.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v19.2.dll

Declaration

public SelectionMode SelectionMode { get; set; }

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.

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

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.

See Also