GridLayout.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 |
|---|---|
| GridLayout.LayoutParams() |
Constructs a new LayoutParams with default values as defined in |
| GridLayout.LayoutParams(ViewGroup+LayoutParams) |
Initializes a new instance. |
| GridLayout.LayoutParams(ViewGroup+MarginLayoutParams) |
Initializes a new instance. |
| GridLayout.LayoutParams(GridLayout+LayoutParams) |
Copy constructor. Clones the width, height, margin values, row spec, and column spec of the source. |
| GridLayout.LayoutParams(Context, IAttributeSet) |
Initializes layout parameters from XML attributes. Values not defined in the
attribute set take the default values defined in |
| GridLayout.LayoutParams(GridLayout+Spec, GridLayout+Spec) |
Constructs a new LayoutParams instance for this |
| GridLayout.LayoutParams(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
GridLayout.LayoutParams()
Constructs a new LayoutParams with default values as defined in LayoutParams.
[Android.Runtime.Register(".ctor", "()V", "")]
public LayoutParams();
- Attributes
Remarks
Constructs a new LayoutParams with default values as defined in LayoutParams.
Java documentation for android.widget.GridLayout.LayoutParams.GridLayout$LayoutParams().
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
GridLayout.LayoutParams(ViewGroup+LayoutParams)
Initializes a new instance.
[Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$LayoutParams;)V", "")]
public LayoutParams(Android.Views.ViewGroup.LayoutParams params);
[<Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$LayoutParams;)V", "")>]
new Android.Widget.GridLayout.LayoutParams : Android.Views.ViewGroup.LayoutParams -> Android.Widget.GridLayout.LayoutParams
Parameters
- params
- 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.
Applies to
GridLayout.LayoutParams(ViewGroup+MarginLayoutParams)
Initializes a new instance.
[Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$MarginLayoutParams;)V", "")]
public LayoutParams(Android.Views.ViewGroup.MarginLayoutParams params);
[<Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$MarginLayoutParams;)V", "")>]
new Android.Widget.GridLayout.LayoutParams : Android.Views.ViewGroup.MarginLayoutParams -> Android.Widget.GridLayout.LayoutParams
Parameters
- params
- ViewGroup.MarginLayoutParams
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
GridLayout.LayoutParams(GridLayout+LayoutParams)
Copy constructor. Clones the width, height, margin values, row spec, and column spec of the source.
[Android.Runtime.Register(".ctor", "(Landroid/widget/GridLayout$LayoutParams;)V", "")]
public LayoutParams(Android.Widget.GridLayout.LayoutParams source);
[<Android.Runtime.Register(".ctor", "(Landroid/widget/GridLayout$LayoutParams;)V", "")>]
new Android.Widget.GridLayout.LayoutParams : Android.Widget.GridLayout.LayoutParams -> Android.Widget.GridLayout.LayoutParams
Parameters
- source
- GridLayout.LayoutParams
GridLayout.LayoutParams : The layout params to copy from.
- 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
GridLayout.LayoutParams(Context, IAttributeSet)
Initializes layout parameters from XML attributes. Values not defined in the
attribute set take the default values defined in LayoutParams.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public LayoutParams(Android.Content.Context context, Android.Util.IAttributeSet attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Widget.GridLayout.LayoutParams : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.GridLayout.LayoutParams
Parameters
- context
- Context
The context used to access application resources and services.
- attrs
- IAttributeSet
The attributes supplied from XML.
- Attributes
Remarks
Initializes layout parameters from XML attributes. Values not defined in the attribute set take the default values defined in LayoutParams.
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
GridLayout.LayoutParams(GridLayout+Spec, GridLayout+Spec)
Constructs a new LayoutParams instance for this rowSpec
and columnSpec.
[Android.Runtime.Register(".ctor", "(Landroid/widget/GridLayout$Spec;Landroid/widget/GridLayout$Spec;)V", "")]
public LayoutParams(Android.Widget.GridLayout.Spec rowSpec, Android.Widget.GridLayout.Spec columnSpec);
[<Android.Runtime.Register(".ctor", "(Landroid/widget/GridLayout$Spec;Landroid/widget/GridLayout$Spec;)V", "")>]
new Android.Widget.GridLayout.LayoutParams : Android.Widget.GridLayout.Spec * Android.Widget.GridLayout.Spec -> Android.Widget.GridLayout.LayoutParams
Parameters
- rowSpec
- GridLayout.Spec
GridLayout.Spec : the rowSpec
- columnSpec
- GridLayout.Spec
GridLayout.Spec : the columnSpec
- 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
GridLayout.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.GridLayout.LayoutParams : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.GridLayout.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.