ViewGroup.ChildCount Property

Definition

Returns the number of children in the group.

C#
public virtual int ChildCount { [Android.Runtime.Register("getChildCount", "()I", "GetGetChildCountHandler")] get; }

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35