AdornerLayer.VisualChildrenCount Property

Definition

获取此 Visual 实例中的子 AdornerLayer 对象数。Gets the number of child Visual objects in this instance of AdornerLayer.

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

Visual 实例中的子 AdornerLayer 对象数。The number of child Visual objects in this instance of AdornerLayer.

Remarks

派生类重写此属性,以使视觉对象代码能够枚举视觉对象。Derived classes override this property to enable the Visual code to enumerate the Visual children. 派生类需要从此方法返回子元素的数目。Derived classes need to return the number of children from this method.

Applies to

See also