TableRow.LayoutParams Constructors

Definition

Overloads

Name Description
TableRow.LayoutParams()

Sets the child width to android.view.ViewGroup.LayoutParams and the child height to android.view.ViewGroup.LayoutParams#WRAP_CONTENT.

TableRow.LayoutParams(ViewGroup+LayoutParams)

Initializes a new instance.

TableRow.LayoutParams(ViewGroup+MarginLayoutParams)

Initializes a new instance.

TableRow.LayoutParams(Int32)

Puts the view in the specified column.

TableRow.LayoutParams(Context, IAttributeSet)

Initializes a new instance.

TableRow.LayoutParams(Int32, Int32)

Sets the child width and the child height.

TableRow.LayoutParams(IntPtr, JniHandleOwnership)

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

TableRow.LayoutParams(Int32, Int32, Single)

Sets the child width, height and weight.

TableRow.LayoutParams()

Sets the child width to android.view.ViewGroup.LayoutParams and the child height to android.view.ViewGroup.LayoutParams#WRAP_CONTENT.

[Android.Runtime.Register(".ctor", "()V", "")]
public LayoutParams();
Attributes

Remarks

Sets the child width to android.view.ViewGroup.LayoutParams and the child height to android.view.ViewGroup.LayoutParams#WRAP_CONTENT.

Java documentation for android.widget.TableRow.LayoutParams.TableRow$LayoutParams().

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

TableRow.LayoutParams(ViewGroup+LayoutParams)

Initializes a new instance.

[Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$LayoutParams;)V", "")]
public LayoutParams(Android.Views.ViewGroup.LayoutParams? p);
[<Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$LayoutParams;)V", "")>]
new Android.Widget.TableRow.LayoutParams : Android.Views.ViewGroup.LayoutParams -> Android.Widget.TableRow.LayoutParams

Parameters

p
ViewGroup.LayoutParams

ViewGroup.LayoutParams

Attributes

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

TableRow.LayoutParams(ViewGroup+MarginLayoutParams)

Initializes a new instance.

[Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$MarginLayoutParams;)V", "")]
public LayoutParams(Android.Views.ViewGroup.MarginLayoutParams? source);
[<Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$MarginLayoutParams;)V", "")>]
new Android.Widget.TableRow.LayoutParams : Android.Views.ViewGroup.MarginLayoutParams -> Android.Widget.TableRow.LayoutParams

Parameters

source
ViewGroup.MarginLayoutParams

ViewGroup.MarginLayoutParams

Attributes

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

TableRow.LayoutParams(Int32)

Puts the view in the specified column.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public LayoutParams(int column);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Widget.TableRow.LayoutParams : int -> Android.Widget.TableRow.LayoutParams

Parameters

column
Int32

the column index for the view

Attributes

Remarks

Puts the view in the specified column.

Sets the child width to android.view.ViewGroup.LayoutParams#MATCH_PARENT and the child height to android.view.ViewGroup.LayoutParams#WRAP_CONTENT.

Java documentation for android.widget.TableRow.LayoutParams.TableRow$LayoutParams(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

TableRow.LayoutParams(Context, IAttributeSet)

Initializes a new instance.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public LayoutParams(Android.Content.Context? c, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Widget.TableRow.LayoutParams : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.TableRow.LayoutParams

Parameters

c
Context

Context

attrs
IAttributeSet

The attributes supplied from XML.

Attributes

Remarks

See the Android reference documentation for this member.

Java documentation for android.widget.TableRow.LayoutParams.TableRow$LayoutParams(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

TableRow.LayoutParams(Int32, Int32)

Sets the child width and the child height.

[Android.Runtime.Register(".ctor", "(II)V", "")]
public LayoutParams(int w, int h);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Widget.TableRow.LayoutParams : int * int -> Android.Widget.TableRow.LayoutParams

Parameters

w
Int32

the desired width

h
Int32

the desired height

Attributes

Remarks

Sets the child width and the child height.

Java documentation for android.widget.TableRow.LayoutParams.TableRow$LayoutParams(int, 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

TableRow.LayoutParams(IntPtr, JniHandleOwnership)

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

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

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

TableRow.LayoutParams(Int32, Int32, Single)

Sets the child width, height and weight.

[Android.Runtime.Register(".ctor", "(IIF)V", "")]
public LayoutParams(int w, int h, float initWeight);
[<Android.Runtime.Register(".ctor", "(IIF)V", "")>]
new Android.Widget.TableRow.LayoutParams : int * int * single -> Android.Widget.TableRow.LayoutParams

Parameters

w
Int32

the desired width

h
Int32

the desired height

initWeight
Single

the desired weight

Attributes

Remarks

Sets the child width, height and weight.

Java documentation for android.widget.TableRow.LayoutParams.TableRow$LayoutParams(int, int, float).

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