Android.Widget.GridView Members

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

See Also: Inherited members from Android.Widget.AbsListView

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

override
AdapterIListAdapter. Returns the adapter currently associated with this widget.
[read-only]
ColumnWidthint. Return the width of a column in the grid.
[read-only]
GravityAndroid.Views.GravityFlags. Describes how the child views are horizontally aligned.
[read-only]
HorizontalSpacingint. Returns the amount of horizontal spacing currently used between each item in the grid.
NumColumnsint. Get the number of columns in the grid.
[read-only]
RequestedColumnWidthint. Return the requested width of a column in the grid.
[read-only]
RequestedHorizontalSpacingint. Returns the requested amount of horizontal spacing between each item in the grid.
StretchModeStretchMode.
[read-only]
VerticalSpacingint. Returns the amount of vertical spacing between each item in the grid.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

SetColumnWidth(int)
Set the width of columns in the grid.
SetGravity(Android.Views.GravityFlags)
Set the gravity for this grid.
SetHorizontalSpacing(int)
Set the amount of horizontal (x) spacing to place between each item in the grid.
SetNumColumns(int)
Set the number of columns in the grid
override
SetSelection(int)
Sets the currently selected item
SetVerticalSpacing(int)
Set the amount of vertical (y) spacing to place between each item in the grid.
SmoothScrollByOffset(int)
Smoothly scroll to the specified adapter position offset.