다음을 통해 공유


Dialog.CurrentFocus Property

Definition

Call android.view.Window#getCurrentFocus on the Window if 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

Call android.view.Window#getCurrentFocus on the Window if this Activity to return the currently focused view.

Java documentation for android.app.Dialog.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