TabActivity.SetDefaultTab Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetDefaultTab(Int32) |
Obsolete.
Sets the default tab that is the first tab highlighted. |
SetDefaultTab(String) |
Obsolete.
Sets the default tab that is the first tab highlighted. |
SetDefaultTab(Int32)
Caution
deprecated
Sets the default tab that is the first tab highlighted.
[Android.Runtime.Register("setDefaultTab", "(I)V", "GetSetDefaultTab_IHandler")]
[System.Obsolete("deprecated")]
public virtual void SetDefaultTab (int index);
[<Android.Runtime.Register("setDefaultTab", "(I)V", "GetSetDefaultTab_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetDefaultTab : int -> unit
override this.SetDefaultTab : int -> unit
Parameters
- index
- Int32
the index of the default tab
- Attributes
Remarks
Sets the default tab that is the first tab highlighted.
Java documentation for android.app.TabActivity.setDefaultTab(int)
.
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
SetDefaultTab(String)
Caution
deprecated
Sets the default tab that is the first tab highlighted.
[Android.Runtime.Register("setDefaultTab", "(Ljava/lang/String;)V", "GetSetDefaultTab_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetDefaultTab (string? tag);
[<Android.Runtime.Register("setDefaultTab", "(Ljava/lang/String;)V", "GetSetDefaultTab_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetDefaultTab : string -> unit
override this.SetDefaultTab : string -> unit
Parameters
- tag
- String
the name of the default tab
- Attributes
Remarks
Sets the default tab that is the first tab highlighted.
Java documentation for android.app.TabActivity.setDefaultTab(java.lang.String)
.
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.