語言

Gallery.LayoutParams 建構函式

定義

多載

名稱 Description
Gallery.LayoutParams(ViewGroup+LayoutParams)

初始化新的實例。

Gallery.LayoutParams(Context, IAttributeSet)

初始化新的實例。

Gallery.LayoutParams(Int32, Int32)

初始化新的實例。

Gallery.LayoutParams(IntPtr, JniHandleOwnership)

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

初始化新的實例。

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

參數

source
ViewGroup.LayoutParams

ViewGroup.LayoutParams

屬性

備註

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

Java 文件 Gallery.LayoutParams。

適用於

初始化新的實例。

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

參數

c
Context

背景

attrs
IAttributeSet

屬性集

屬性

備註

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

Java 文件 Gallery.LayoutParams。

適用於

初始化新的實例。

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

參數

w
Int32

int

h
Int32

int

屬性

備註

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

Java 文件 Gallery.LayoutParams。

適用於

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

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

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於