語言

TableLayout.LayoutParams 建構函式

定義

多載

名稱 Description
TableLayout.LayoutParams()

將子寬度設定為 android.view.ViewGroup.LayoutParams ,並將子高度設定為 android.view.ViewGroup.LayoutParams#WRAP_CONTENT

TableLayout.LayoutParams(ViewGroup+LayoutParams)

初始化新的實例。

TableLayout.LayoutParams(ViewGroup+MarginLayoutParams)

初始化新的實例。

TableLayout.LayoutParams(Context, IAttributeSet)

初始化新的實例。

TableLayout.LayoutParams(Int32, Int32)

初始化新的實例。

TableLayout.LayoutParams(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

TableLayout.LayoutParams(Int32, Int32, Single)

初始化新的實例。

TableLayout.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

android.widget.TableLayout.LayoutParams.TableLayout$LayoutParams()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

TableLayout.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.TableLayout.LayoutParams : Android.Views.ViewGroup.LayoutParams -> Android.Widget.TableLayout.LayoutParams

參數

p
ViewGroup.LayoutParams

ViewGroup.LayoutParams

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

TableLayout.LayoutParamsJava 檔。

適用於

TableLayout.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.TableLayout.LayoutParams : Android.Views.ViewGroup.MarginLayoutParams -> Android.Widget.TableLayout.LayoutParams

參數

source
ViewGroup.MarginLayoutParams

ViewGroup.MarginLayoutParams

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

TableLayout.LayoutParamsJava 檔。

適用於

TableLayout.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.TableLayout.LayoutParams : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.TableLayout.LayoutParams

參數

c
Context

背景

attrs
IAttributeSet

屬性集

屬性

備註

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

android.widget.TableLayout.LayoutParams.TableLayout$LayoutParams(android.content.Context, android.util.AttributeSet)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

TableLayout.LayoutParams(Int32, Int32)

初始化新的實例。

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

參數

w
Int32

int

h
Int32

int

屬性

備註

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

android.widget.TableLayout.LayoutParams.TableLayout$LayoutParams(int, int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

TableLayout.LayoutParams(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

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

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

TableLayout.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.TableLayout.LayoutParams : int * int * single -> Android.Widget.TableLayout.LayoutParams

參數

w
Int32

int

h
Int32

int

initWeight
Single

float

屬性

備註

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

android.widget.TableLayout.LayoutParams.TableLayout$LayoutParams(int, int, float)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於