Language

ViewTreeObserver.WindowFocusChangeEventArgs.HasFocus Property

Definition

Gets whether the window has focus.

public bool HasFocus { get; }
member this.HasFocus : bool

Property Value

true if the view hierarchy's window gained focus; false if it lost focus.

Remarks

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