TableLayout 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| TableLayout(Context) |
为给定上下文创建新的 TableLayout。 |
| TableLayout(Context, IAttributeSet) |
使用指定的集属性为给定上下文创建新的 TableLayout。 |
| TableLayout(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
TableLayout(Context)
为给定上下文创建新的 TableLayout。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public TableLayout(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Widget.TableLayout : Android.Content.Context -> Android.Widget.TableLayout
参数
- context
- Context
应用程序环境
- 属性
注解
为给定上下文创建新的 TableLayout。
Java文档android.widget.TableLayout.TableLayout(android.content.Context)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
TableLayout(Context, IAttributeSet)
使用指定的集属性为给定上下文创建新的 TableLayout。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public TableLayout(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Widget.TableLayout : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.TableLayout
参数
- context
- Context
应用程序环境
- attrs
- IAttributeSet
特性集合
- 属性
注解
使用指定的集属性为给定上下文创建新的 TableLayout。
Java文档android.widget.TableLayout.TableLayout(android.content.Context, android.util.AttributeSet)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
TableLayout(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected TableLayout(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.TableLayout : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.TableLayout
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。