Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SiblingListItems Property

ListItem.SiblingListItems Property

Gets a ListItemCollection that contains the ListItem elements that are siblings of the current ListItem element.

Namespace:  System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public ReadOnly Property SiblingListItems As ListItemCollection

Property Value

Type: System.Windows.Documents.ListItemCollection
A ListItemCollection that contains the child ListItem elements that are directly hosted by the parent of the current ListItem element, or Nothing if the current ListItem element has no parent.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft