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();

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35