TextBlock.VisualChildrenCount 属性

定义

获取 Visual 所承载的 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 承载的可视子项的数目。

适用于