TreeView.SelectedNodes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the collection of nodes that are selected in the tree.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeView.SelectedNodes (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public:
property IVector<TreeViewNode ^> ^ SelectedNodes { IVector<TreeViewNode ^> ^ get(); };
IVector<TreeViewNode> SelectedNodes();
public IList<TreeViewNode> SelectedNodes { get; }
var iVector = treeView.selectedNodes;
Public ReadOnly Property SelectedNodes As IList(Of TreeViewNode)
Property Value
The collection of nodes that are selected in the tree. The default is an empty collection.
Applies to
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ