TabHost.CurrentTab Property

Definition

Returns the current tab.

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

Property Value

the current tab, may be null if no tab is set as current

Attributes

Remarks

Returns the current tab.

Java documentation for android.widget.TabHost.getCurrentTab().

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