語言

TableRow.LayoutParams 建構函式

定義

多載

名稱 Description
TableRow.LayoutParams()

將子節點寬度設為 android.view.ViewGroup.LayoutParams ,子節點高度設為 android.view.ViewGroup.LayoutParams#WRAP_CONTENT。

TableRow.LayoutParams(ViewGroup+LayoutParams)

初始化新的實例。

TableRow.LayoutParams(ViewGroup+MarginLayoutParams)

初始化新的實例。

TableRow.LayoutParams(Int32)

將視圖置於指定的欄位。

TableRow.LayoutParams(Context, IAttributeSet)

初始化新的實例。

TableRow.LayoutParams(Int32, Int32)

設定子節點寬度和子節點高度。

TableRow.LayoutParams(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

TableRow.LayoutParams(Int32, Int32, Single)

設定小孩的寬度、高度和體重。

TableRow.LayoutParams()

將子節點寬度設為 android.view.ViewGroup.LayoutParams ,子節點高度設為 android.view.ViewGroup.LayoutParams#WRAP_CONTENT。

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

備註

將子節點寬度設為 android.view.ViewGroup.LayoutParams ,子節點高度設為 android.view.ViewGroup.LayoutParams#WRAP_CONTENT。

Java 文件 android.widget.TableRow.LayoutParams.TableRow$LayoutParams()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

TableRow.LayoutParams(ViewGroup+LayoutParams)

初始化新的實例。

[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

參數

p
ViewGroup.LayoutParams

ViewGroup.LayoutParams

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

TableRow.LayoutParams(ViewGroup+MarginLayoutParams)

初始化新的實例。

[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

參數

source
ViewGroup.MarginLayoutParams

ViewGroup.MarginLayoutParams

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

TableRow.LayoutParams(Int32)

將視圖置於指定的欄位。

[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

參數

column
Int32

該觀點的欄索引

屬性

備註

將視圖置於指定的欄位。

將子節點寬度設為 android.view.ViewGroup.LayoutParams#MATCH_PARENT ,子節點高度設為 android.view.ViewGroup.LayoutParams#WRAP_CONTENT。

Java 文件 android.widget.TableRow.LayoutParams.TableRow$LayoutParams(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

TableRow.LayoutParams(Context, IAttributeSet)

初始化新的實例。

[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

參數

c
Context

背景

attrs
IAttributeSet

屬性則由 XML 提供。

屬性

備註

請參閱 Android 參考文件中的此成員資料。

Java 文件 android.widget.TableRow.LayoutParams.TableRow$LayoutParams(android.content.Context, android.util.AttributeSet)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

TableRow.LayoutParams(Int32, Int32)

設定子節點寬度和子節點高度。

[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

參數

w
Int32

所需的寬度

h
Int32

期望高度

屬性

備註

設定子節點寬度和子節點高度。

Java 文件 android.widget.TableRow.LayoutParams.TableRow$LayoutParams(int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

TableRow.LayoutParams(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtr,包含 Java Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

TableRow.LayoutParams(Int32, Int32, Single)

設定小孩的寬度、高度和體重。

[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

參數

w
Int32

所需的寬度

h
Int32

期望高度

initWeight
Single

目標重量

屬性

備註

設定小孩的寬度、高度和體重。

Java 文件 android.widget.TableRow.LayoutParams.TableRow$LayoutParams(int, int, float)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於