Activity.CurrentFocus Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calls android.view.Window#getCurrentFocus
on the
Window of this Activity to return the currently focused view.
public virtual Android.Views.View? CurrentFocus { [Android.Runtime.Register("getCurrentFocus", "()Landroid/view/View;", "GetGetCurrentFocusHandler")] get; }
[<get: Android.Runtime.Register("getCurrentFocus", "()Landroid/view/View;", "GetGetCurrentFocusHandler")>]
member this.CurrentFocus : Android.Views.View
Property Value
View The current View with focus or null.
- Attributes
Remarks
Calls android.view.Window#getCurrentFocus
on the Window of this Activity to return the currently focused view.
Java documentation for android.app.Activity.getCurrentFocus()
.
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.