Share via


View.FindFocus Method

Definition

Find the view in the hierarchy rooted at this view that currently has focus.

[Android.Runtime.Register("findFocus", "()Landroid/view/View;", "GetFindFocusHandler")]
public virtual Android.Views.View? FindFocus ();
[<Android.Runtime.Register("findFocus", "()Landroid/view/View;", "GetFindFocusHandler")>]
abstract member FindFocus : unit -> Android.Views.View
override this.FindFocus : unit -> Android.Views.View

Returns

The view that currently has focus, or null if no focused view can be found.

Attributes

Remarks

Find the view in the hierarchy rooted at this view that currently has focus.

Java documentation for android.view.View.findFocus().

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