Android.Widget.GridLayout.ColumnCount Property
Returns the current number of columns.

Syntax

[get: Android.Runtime.Register("getColumnCount", "()I", "GetGetColumnCountHandler")]
[set: Android.Runtime.Register("setColumnCount", "(I)V", "GetSetColumnCount_IHandler")]
public virtual int ColumnCount { get; set; }

See Also

GridLayout.ColumnCount
GridLayout.ColumnCount

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns the current number of columns. This is either the last value that was set with GridLayout.ColumnCount or, if no such value was set, the maximum value of each the upper bounds defined in NoType:android/widget/GridLayout$LayoutParams;Href=../../../reference/android/widget/GridLayout.LayoutParams.html#columnSpec.

Set method documentation [Android Documentation]

ColumnCount is used only to generate default column/column indices when they are not specified by a component's layout parameters.

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14