Skip to content

TreeView.SelectionMode property

Gets or sets the selection mode; multi-selection needs an items source that supports it (e.g. TreeItemsView), otherwise the mode stays Single.

public ItemsSelectionMode SelectionMode { get; set; }

Range selection follows the flattened visible-row order; parent/child propagation is not applied.

Fluent: .SelectionMode(ItemsSelectionMode)