共用方式為


AbsListView.LayoutParams Constructors

Definition

Overloads

AbsListView.LayoutParams(ViewGroup+LayoutParams)
AbsListView.LayoutParams(Context, IAttributeSet)
AbsListView.LayoutParams(Int32, Int32)
AbsListView.LayoutParams(IntPtr, JniHandleOwnership)

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

AbsListView.LayoutParams(Int32, Int32, Int32)

AbsListView.LayoutParams(ViewGroup+LayoutParams)

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

Parameters

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

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

Parameters

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

AbsListView.LayoutParams(Int32, Int32)

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

Parameters

w
Int32
h
Int32
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

AbsListView.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.AbsListView.LayoutParams : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.AbsListView.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

AbsListView.LayoutParams(Int32, Int32, Int32)

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

Parameters

w
Int32
h
Int32
viewType
Int32
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