语言

TabHost.ITabContentFactory.CreateTabContent(String) 方法

定义

用于使选项卡内容成为选项卡内容的回调

[Android.Runtime.Register("createTabContent", "(Ljava/lang/String;)Landroid/view/View;", "GetCreateTabContent_Ljava_lang_String_Handler:Android.Widget.TabHost/ITabContentFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.View? CreateTabContent(string? tag);
[<Android.Runtime.Register("createTabContent", "(Ljava/lang/String;)Landroid/view/View;", "GetCreateTabContent_Ljava_lang_String_Handler:Android.Widget.TabHost/ITabContentFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CreateTabContent : string -> Android.Views.View

参数

tag
String

已选择哪个选项卡。

返回

显示所选选项卡内容的视图。

属性

注解

用于使选项卡内容成为选项卡内容的回调

Java文档android.widget.TabHost.TabContentFactory.createTabContent(java.lang.String)。

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

适用于