Android Guides | Samples

Android.Widget.GridAlign Enumeration

Enumerates values returned by several types.

Syntax

public enum GridAlign

Remarks

Members

Member NameDescription
Bounds

GridLayout.AlignmentModealignmentModeGridLayout.AlignBoundsView.TopView.LeftView.BottomView.Right

For example, when GridLayout is in GridLayout.AlignBounds mode, children that belong to a row group that uses GridLayout.TOP alignment will all return the same value when their View.Top method is called.

Margins

GridLayout.AlignmentModealignmentModeGridLayout.AlignMargins

For example, when GridLayout is in GridLayout.AlignMargins mode, the quantity top - layoutParams.topMargin is the same for all children that belong to a row group that uses GridLayout.TOP alignment.

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Widget.GridAlign are listed below.

See Also: Enum

Public Fields

BoundsGridAlign.

GridLayout.AlignmentModealignmentModeGridLayout.AlignBoundsView.TopView.LeftView.BottomView.Right

For example, when GridLayout is in GridLayout.AlignBounds mode, children that belong to a row group that uses GridLayout.TOP alignment will all return the same value when their View.Top method is called.

MarginsGridAlign.

GridLayout.AlignmentModealignmentModeGridLayout.AlignMargins

For example, when GridLayout is in GridLayout.AlignMargins mode, the quantity top - layoutParams.topMargin is the same for all children that belong to a row group that uses GridLayout.TOP alignment.