System.Windows.Forms.DataGridViewColumn.MinimumWidth Property

Gets or sets the minimum width, in pixels, of the column.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The DataGridViewColumn.MinimumWidth property sets a limit on how narrow the column can be resized in the user interface (UI). The DataGridViewColumn.Width property can override the DataGridViewColumn.MinimumWidth property.

Requirements

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