Window.FindViewById Window.FindViewById Method

Definition

Overloads

FindViewById(Int32) FindViewById(Int32)

Finds a view that was identified by the id attribute from the XML that was processed in OnCreate(Bundle).

FindViewById<T>(Int32) FindViewById<T>(Int32)

FindViewById(Int32) FindViewById(Int32)

Finds a view that was identified by the id attribute from the XML that was processed in OnCreate(Bundle).

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

Parameters

Returns

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.

FindViewById<T>(Int32) 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

Returns

T 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