語言

Activity.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

屬性值

查看當前視圖,對焦或空白。

屬性

備註

呼叫此活動視窗中的 Window.getCurrentFocus() 以回傳當前聚焦的檢視。

另請參閱:

Android 參考資料。android.app.Activity.getCurrentFocus

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於