共用方式為


TableLayout Constructors

Definition

Overloads

TableLayout(Context)

Creates a new TableLayout for the given context.

TableLayout(Context, IAttributeSet)

Creates a new TableLayout for the given context and with the specified set attributes.

TableLayout(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

TableLayout(Context)

Creates a new TableLayout for the given context.

[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

Parameters

context
Context

the application environment

Attributes

Remarks

Creates a new TableLayout for the given context.

Java documentation for android.widget.TableLayout.TableLayout(android.content.Context).

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

TableLayout(Context, IAttributeSet)

Creates a new TableLayout for the given context and with the specified set attributes.

[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

Parameters

context
Context

the application environment

attrs
IAttributeSet

a collection of attributes

Attributes

Remarks

Creates a new TableLayout for the given context and with the specified set attributes.

Java documentation for android.widget.TableLayout.TableLayout(android.content.Context, android.util.AttributeSet).

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

TableLayout(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected TableLayout (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.TableLayout : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.TableLayout

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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