Compartilhar via


ViewGroup.GetChildAt(Int32) Method

Definition

Returns the view at the specified position in the group.

[Android.Runtime.Register("getChildAt", "(I)Landroid/view/View;", "GetGetChildAt_IHandler")]
public virtual Android.Views.View? GetChildAt (int index);
[<Android.Runtime.Register("getChildAt", "(I)Landroid/view/View;", "GetGetChildAt_IHandler")>]
abstract member GetChildAt : int -> Android.Views.View
override this.GetChildAt : int -> Android.Views.View

Parameters

index
Int32

the position at which to get the view from

Returns

the view at the specified position or null if the position does not exist within the group

Attributes

Remarks

Returns the view at the specified position in the group.

Java documentation for android.view.ViewGroup.getChildAt(int).

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