Megosztás a következőn keresztül:


Activity.CurrentFocus Property

Definition

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.

Applies to

See also