System.Windows.Forms.DataGridViewColumn.Width Property

Gets or sets the current width of the column.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)]
[System.ComponentModel.Localizable(true)]
public int Width { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the specified value when setting this property is less than the value of the DataGridViewColumn.MinimumWidth property, the DataGridViewColumn.MinimumWidth property value is used instead.

Requirements

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