Property SelectedItems
SelectedItems
Gets a collection containing the currently selected items in the control. This is slower than SelectedListItems.
[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 StdTreeView, this property returns a collection containing all the items that are selected in the StdTreeView. For a single-selection StdTreeView, this property returns a collection containing a single element containing the only selected item in the StdTreeView.