Android.Views.View.DispatchWindowFocusChanged Method
Called when the window containing this view gains or loses window focus.

Syntax

[Android.Runtime.Register("dispatchWindowFocusChanged", "(Z)V", "GetDispatchWindowFocusChanged_ZHandler")]
public virtual void DispatchWindowFocusChanged (bool hasFocus)

Parameters

hasFocus
True if the window containing this view now has focus, false otherwise.

Remarks

Called when the window containing this view gains or loses window focus. ViewGroups should override to route to their children.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1