TextBlock.VisualChildrenCount Property

Definition

获取 Visual 所承载的 TextBlock 子项的数目。Gets the number of Visual children hosted by the TextBlock.

protected:
 virtual property int VisualChildrenCount { int get(); };
protected override int VisualChildrenCount { get; }
member this.VisualChildrenCount : int
Protected Overrides ReadOnly Property VisualChildrenCount As Integer

Property Value

Int32

TextBlock 承载的可视子项的数目。The number of visual children hosted by the TextBlock.

Applies to