Android.Widget.TableLayout.SetColumnCollapsed Method

Syntax

[Android.Runtime.Register("setColumnCollapsed", "(IZ)V", "GetSetColumnCollapsed_IZHandler")]
public virtual void SetColumnCollapsed (int columnIndex, bool isCollapsed)

Parameters

columnIndex
the index of the column
isCollapsed
true if the column must be collapsed, false otherwise

Remarks

Collapses or restores a given column. When collapsed, a column does not appear on screen and the extra space is reclaimed by the other columns. A column is collapsed/restored only when it belongs to a Android.Widget.TableRow.

Calling this method requests a layout operation.

[Android Documentation]

Requirements

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