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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈