Android Guides | Samples

Android.App.Dialog.FindViewById Method

Finds a child view with the given identifier.

Syntax

[Android.Runtime.Register("findViewById", "(I)Landroid/view/View;", "GetFindViewById_IHandler")]
public virtual View FindViewById (Int32 id)

Parameters

id
the identifier of the view to find

Remarks

Finds a child view with the given identifier. Returns null if the specified child view does not exist or the dialog has not yet been fully created (for example, via Dialog.Show or Dialog.Create).

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1