Share via


GridLayout.LayoutParams Constructors

Definition

Overloads

GridLayout.LayoutParams()

Constructs a new LayoutParams with default values as defined in LayoutParams.

GridLayout.LayoutParams(ViewGroup+LayoutParams)
GridLayout.LayoutParams(ViewGroup+MarginLayoutParams)
GridLayout.LayoutParams(GridLayout+LayoutParams)
GridLayout.LayoutParams(Context, IAttributeSet)

To be added

        Values not defined in the attribute set take the default values
        defined in <code data-dev-comment-type="c">LayoutParams</code>.
GridLayout.LayoutParams(GridLayout+Spec, GridLayout+Spec)

Constructs a new LayoutParams instance for this rowSpec and columnSpec.

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)

[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

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)

[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

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)

[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

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)

To be added

        Values not defined in the attribute set take the default values
        defined in <code data-dev-comment-type="c">LayoutParams</code>.
[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
Attributes

Remarks

To be added

Values not defined in the attribute set take the default values defined in LayoutParams.

Java documentation for android.widget.GridLayout.LayoutParams.GridLayout$LayoutParams(android.content.Context, android.util.AttributeSet).

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
columnSpec
GridLayout.Spec
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

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