Dela via


GridView.NumColumns Property

Definition

Get the number of columns in the grid.

public virtual int NumColumns { [Android.Runtime.Register("getNumColumns", "()I", "GetGetNumColumnsHandler")] get; set; }
[<get: Android.Runtime.Register("getNumColumns", "()I", "GetGetNumColumnsHandler")>]
member this.NumColumns : int with get, set

Property Value

Attributes

Remarks

Get the number of columns in the grid. Returns #AUTO_FIT if the Grid has never been laid out.

Java documentation for android.widget.GridView.getNumColumns().

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