Share via


FormListColumn.width Method

Definition

Overloads

width()

Gets or sets the width of the control.

width(Int32)

width()

Gets or sets the width of the control.

public:
 virtual int width();
public virtual int width ();
abstract member width : unit -> int
override this.width : unit -> int
Public Overridable Function width () As Integer

Returns

The width of the control in pixels.

Remarks

Exact mode is used if the value parameter is omitted. Calculate the width according to the following table.

Mode Width calculation
Exact (-1) The exact width of the control in pixels is used.
Auto (0) The width of the control is calculated automatically, and the value parameter is ignored.
Column width (1) The layout of the form determines the width of the control.

The width and the width calculation mode can be set separately.

Applies to

width(Int32)

public:
 virtual int width(int _value);
public virtual int width (int _value);
abstract member width : int -> int
override this.width : int -> int
Public Overridable Function width (_value As Integer) As Integer

Parameters

_value
Int32

The value to assign as the width of the list column; optional.

Returns

Applies to