View.FindViewById Method

Definition

Overloads

FindViewById(Int32)

Look for a child view with the given id.

FindViewById<T>(Int32)

FindViewById(Int32)

Look for a child view with the given id.

[Android.Runtime.Register("findViewById", "(I)Landroid/view/View;", "")]
public Android.Views.View FindViewById (int id);
member this.FindViewById : int -> Android.Views.View

Parameters

id
Int32

The id to search for.

Returns

View
Attributes

Remarks

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

FindViewById<T>(Int32)

public T FindViewById<T> (int id) where T : Android.Views.View;
member this.FindViewById : int -> 'T (requires 'T :> Android.Views.View)

Type Parameters

T

Parameters

id
Int32

Returns

T

Remarks

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