Dela via


GridView.SetColumnWidth(Int32) Method

Definition

Set the width of columns in the grid.

[Android.Runtime.Register("setColumnWidth", "(I)V", "GetSetColumnWidth_IHandler")]
public virtual void SetColumnWidth (int columnWidth);
[<Android.Runtime.Register("setColumnWidth", "(I)V", "GetSetColumnWidth_IHandler")>]
abstract member SetColumnWidth : int -> unit
override this.SetColumnWidth : int -> unit

Parameters

columnWidth
Int32

The column width, in pixels.

Attributes

Remarks

Set the width of columns in the grid.

Java documentation for android.widget.GridView.setColumnWidth(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