This documentation is archived and is not being maintained.

ListItem.SiblingListItems Property

Gets a ListItemCollection that contains ListItem elements that are siblings to this ListItem element.

Namespace: System.Windows.Documents
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public ListItemCollection SiblingListItems { get; }
/** @property */
public ListItemCollection get_SiblingListItems ()

public function get SiblingListItems () : ListItemCollection

You cannot use this property in XAML.

Property Value

A ListItemCollection that contains all of the child Block elements directly hosted by the parent of this Block element, or null if this Block element has no parent. This property has no default value.

The ListItemCollection returned by this property will include the Block 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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: