View.HasWindowFocus View.HasWindowFocus Property


Returns true if this view is in a window that currently has window focus.

[get: Android.Runtime.Register("hasWindowFocus", "()Z", "GetHasWindowFocusHandler")]
public virtual bool HasWindowFocus { get; }
member this.HasWindowFocus : 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