Freigeben über


GridLayout.AlignmentMode Property

Definition

Returns the alignment mode. -or- Sets the alignment mode to be used for all of the alignments between the children of this container.

public virtual Android.Widget.GridAlign AlignmentMode { [Android.Runtime.Register("getAlignmentMode", "()I", "GetGetAlignmentModeHandler")] get; [Android.Runtime.Register("setAlignmentMode", "(I)V", "GetSetAlignmentMode_IHandler")] set; }
[<get: Android.Runtime.Register("getAlignmentMode", "()I", "GetGetAlignmentModeHandler")>]
[<set: Android.Runtime.Register("setAlignmentMode", "(I)V", "GetSetAlignmentMode_IHandler")>]
member this.AlignmentMode : Android.Widget.GridAlign with get, set

Property Value

the alignment mode; either #ALIGN_BOUNDS or #ALIGN_MARGINS

Attributes

Remarks

Property getter documentation:

Returns the alignment mode.

Java documentation for android.widget.GridLayout.getAlignmentMode().

Property setter documentation:

Sets the alignment mode to be used for all of the alignments between the children of this container.

The default value of this property is #ALIGN_MARGINS.

Java documentation for android.widget.GridLayout.setAlignmentMode(int).

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

See also