ViewGroup.ChildCount Property

Definition

Returns the number of children in the group.

public virtual int ChildCount { [Android.Runtime.Register("getChildCount", "()I", "GetGetChildCountHandler")] get; }
[<get: Android.Runtime.Register("getChildCount", "()I", "GetGetChildCountHandler")>]
member this.ChildCount : int

Property Value

a positive integer representing the number of children in the group

Attributes

Remarks

Returns the number of children in the group.

Java documentation for android.view.ViewGroup.getChildCount().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to