Skip to content

TreeViewMarkupExtensions.SelectionMode method

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

public static TreeView SelectionMode(this TreeView target, ItemsSelectionMode value)
parameter description
target Target TreeView.
value Value assigned to SelectionMode.

The same element for chaining.

Sets: TreeView.SelectionMode