语言

Dialog.CurrentFocus 属性

定义

如果此活动返回当前焦点视图,请调用 android.view.Window#getCurrentFocus 窗口。

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

属性值

查看具有焦点或 null 的当前视图。

特性

注解

如果此活动返回当前焦点视图,则调用 Window.getCurrentFocus()。

Android 参考。android.app.Dialog.getCurrentFocus

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅