ListItem.SiblingListItems 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 a ListItemCollection that contains the ListItem elements that are siblings of the current ListItem element.
public:
property System::Windows::Documents::ListItemCollection ^ SiblingListItems { System::Windows::Documents::ListItemCollection ^ get(); };
public System.Windows.Documents.ListItemCollection SiblingListItems { get; }
member this.SiblingListItems : System.Windows.Documents.ListItemCollection
Public ReadOnly Property SiblingListItems As ListItemCollection
Property Value
A ListItemCollection that contains the child ListItem elements that are directly hosted by the parent of the current ListItem element, or null
if the current ListItem element has no parent.
Remarks
The ListItemCollection returned by this property includes the ListItem element through which the collection is accessed; that is, the element that owns this property is considered to be its own sibling for the purposes of generating the collection of siblings.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應