System.Windows.Forms.ColumnStyle.Width Property

Gets or sets the width value for a column.

Syntax

public float Width { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The width parameter will take on different meanings depending on the TableLayoutStyle.SizeType property.

SizeType.Absolute

The preferred column width in pixels (fractional portion ignored).

SizeType.AutoSize

Not applicable—the width parameter is ignored.

SizeType.Percent

The preferred column width as a percentage of the containing table.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0