Skip to main content

GridColumn.MaxWidth Property

Gets or sets the column’s maximum width.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public virtual int MaxWidth { get; set; }

Property Value

Type Default Description
Int32 0

An integer value that specifies the column’s maximum width.


This property is supported in the GridView Views. It’s not supported in other Views.

colAddress.MaxWidth = 200;
colAddress.MinWidth = 100;
colAddress.Width = 150;
See Also