View.HasFocus View.HasFocus Property


Returns true if this view has focus itself, or is the ancestor of the view that has focus.

[get: Android.Runtime.Register("hasFocus", "()Z", "GetHasFocusHandler")]
public virtual bool HasFocus { get; }
member this.HasFocus : bool

Property Value


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