Modifica

Condividi tramite


ListItem.SiblingListItems Property

Definition

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