TextBlock.VisualChildrenCount 属性

定义

获取 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

属性值

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

适用于