Gallery.LayoutParams Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Gallery.LayoutParams(ViewGroup+LayoutParams) |
Initializes a new instance. |
| Gallery.LayoutParams(Context, IAttributeSet) |
Initializes a new instance. |
| Gallery.LayoutParams(Int32, Int32) |
Initializes a new instance. |
| Gallery.LayoutParams(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Gallery.LayoutParams(ViewGroup+LayoutParams)
Initializes a new instance.
[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
Parameters
- source
- 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.
Java documentation for Gallery.LayoutParams.
Applies to
Gallery.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.Gallery.LayoutParams : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.Gallery.LayoutParams
Parameters
- c
- Context
Context
- attrs
- IAttributeSet
AttributeSet
- 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.
Java documentation for Gallery.LayoutParams.
Applies to
Gallery.LayoutParams(Int32, Int32)
Initializes a new instance.
[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
Parameters
- w
- Int32
int
- h
- Int32
int
- 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.
Java documentation for Gallery.LayoutParams.
Applies to
Gallery.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.Gallery.LayoutParams : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.Gallery.LayoutParams
Parameters
- 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.