Android Guides | Samples

Android.Views.Window.CurrentFocus Property

Return the view in this Window that currently has focus, or null if there are none.

Syntax

[get: Android.Runtime.Register("getCurrentFocus", "()Landroid/view/View;", "GetGetCurrentFocusHandler")]
public abstract View CurrentFocus { get; }

Remarks

Return the view in this Window that currently has focus, or null if there are none. Note that this does not look in any containing Window.

[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