Block.SiblingBlocks Property

Gets a BlockCollection that contains Block elements that are siblings to this Block element.

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

public BlockCollection SiblingBlocks { get; }
/** @property */
public BlockCollection get_SiblingBlocks ()

public function get SiblingBlocks () : BlockCollection

You cannot use this property in XAML.

Property Value

A BlockCollection 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 BlockCollection 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 it's 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: