FrameLayout.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
| FrameLayout.LayoutParams(ViewGroup+LayoutParams) | |
| FrameLayout.LayoutParams(ViewGroup+MarginLayoutParams) | |
| FrameLayout.LayoutParams(FrameLayout+LayoutParams) | |
| FrameLayout.LayoutParams(Context, IAttributeSet) | |
| FrameLayout.LayoutParams(Int32, Int32) | |
| FrameLayout.LayoutParams(IntPtr, JniHandleOwnership) | A constructor used when creating managed representations of JNI objects; called by the runtime. | 
| FrameLayout.LayoutParams(Int32, Int32, GravityFlags) | Creates a new set of layout parameters with the specified width, height and gravity. | 
FrameLayout.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.FrameLayout.LayoutParams : Android.Views.ViewGroup.LayoutParams -> Android.Widget.FrameLayout.LayoutParamsParameters
- source
- 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.
Applies to
FrameLayout.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.FrameLayout.LayoutParams : Android.Views.ViewGroup.MarginLayoutParams -> Android.Widget.FrameLayout.LayoutParamsParameters
- source
- ViewGroup.MarginLayoutParams
- 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
FrameLayout.LayoutParams(FrameLayout+LayoutParams)
[Android.Runtime.Register(".ctor", "(Landroid/widget/FrameLayout$LayoutParams;)V", "")]
public LayoutParams(Android.Widget.FrameLayout.LayoutParams source);[<Android.Runtime.Register(".ctor", "(Landroid/widget/FrameLayout$LayoutParams;)V", "")>]
new Android.Widget.FrameLayout.LayoutParams : Android.Widget.FrameLayout.LayoutParams -> Android.Widget.FrameLayout.LayoutParamsParameters
- source
- FrameLayout.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.
Applies to
FrameLayout.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.FrameLayout.LayoutParams : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.FrameLayout.LayoutParamsParameters
- c
- Context
- attrs
- IAttributeSet
- 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
FrameLayout.LayoutParams(Int32, Int32)
[Android.Runtime.Register(".ctor", "(II)V", "")]
public LayoutParams(int width, int height);[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Widget.FrameLayout.LayoutParams : int * int -> Android.Widget.FrameLayout.LayoutParamsParameters
- width
- Int32
- height
- 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
FrameLayout.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.FrameLayout.LayoutParams : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.FrameLayout.LayoutParamsParameters
- 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
FrameLayout.LayoutParams(Int32, Int32, GravityFlags)
Creates a new set of layout parameters with the specified width, height and gravity.
[Android.Runtime.Register(".ctor", "(III)V", "")]
public LayoutParams(int width, int height, Android.Views.GravityFlags gravity);[<Android.Runtime.Register(".ctor", "(III)V", "")>]
new Android.Widget.FrameLayout.LayoutParams : int * int * Android.Views.GravityFlags -> Android.Widget.FrameLayout.LayoutParamsParameters
- width
- Int32
the width, either #MATCH_PARENT,
#WRAP_CONTENT or a fixed size in pixels
- height
- Int32
the height, either #MATCH_PARENT,
#WRAP_CONTENT or a fixed size in pixels
- gravity
- GravityFlags
the gravity
- Attributes
Remarks
Creates a new set of layout parameters with the specified width, height and gravity.
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.