다음을 통해 공유


GridView.SetNumColumns(Int32) Method

Definition

Set the number of columns in the grid

[Android.Runtime.Register("setNumColumns", "(I)V", "GetSetNumColumns_IHandler")]
public virtual void SetNumColumns (int numColumns);
[<Android.Runtime.Register("setNumColumns", "(I)V", "GetSetNumColumns_IHandler")>]
abstract member SetNumColumns : int -> unit
override this.SetNumColumns : int -> unit

Parameters

numColumns
Int32

The desired number of columns.

Attributes

Remarks

Set the number of columns in the grid

Java documentation for android.widget.GridView.setNumColumns(int).

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