Block.SiblingBlocks Propriété

Définition

Obtient une collection d'éléments Block qui sont des frères de l'élément Block actuel.

public:
 property System::Windows::Documents::BlockCollection ^ SiblingBlocks { System::Windows::Documents::BlockCollection ^ get(); };
public System.Windows.Documents.BlockCollection SiblingBlocks { get; }
member this.SiblingBlocks : System.Windows.Documents.BlockCollection
Public ReadOnly Property SiblingBlocks As BlockCollection

Valeur de propriété

BlockCollection qui contient les éléments Block enfants directement hébergés par le parent de l'élément Block actuel, ou null si l'élément Block actuel n'a aucun parent.

Remarques

L’élément BlockCollection retourné par cette propriété inclut l’élément Block par lequel la collection est accessible ; autrement dit, l’élément qui possède cette propriété est considéré comme son propre frère aux fins de générer la collection de frères.

S’applique à

Voir aussi