TabHost.CurrentTab 属性

定义

返回当前选项卡。

public virtual int CurrentTab { [Android.Runtime.Register("getCurrentTab", "()I", "GetGetCurrentTabHandler")] get; [Android.Runtime.Register("setCurrentTab", "(I)V", "GetSetCurrentTab_IHandler")] set; }
[<get: Android.Runtime.Register("getCurrentTab", "()I", "GetGetCurrentTabHandler")>]
[<set: Android.Runtime.Register("setCurrentTab", "(I)V", "GetSetCurrentTab_IHandler")>]
member this.CurrentTab : int with get, set

属性值

当前选项卡,可能是 null 没有将选项卡设置为当前选项卡

属性

注解

返回当前选项卡。

Java文档android.widget.TabHost.getCurrentTab()

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

适用于