Table of Contents

Property SelectedItems

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SelectedItems

Gets a collection containing the currently selected items in the TreeView.

[Browsable(false)]
public virtual IReadOnlyList<TreeViewItem> SelectedItems { get; set; }

Property Value

IReadOnlyList<TreeViewItem>

A IReadOnlyList<T> containing the currently selected items in the control.

Remarks

For a multiple-selection TreeView, this property returns a collection containing all the items that are selected in the TreeView. For a single-selection TreeView, this property returns a collection containing a single element containing the only selected item in the TreeView.