A newer version of this page is available.

TreeMapControl.SelectionMode Property

Gets or sets the selection mode of the TreeMap Control.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v18.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.

Examples

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>
See Also