Skip to main content
A newer version of this page is available. .
Tab

ASPxGridViewSettings.ColumnMinWidth Property

Gets or sets the minimum width of grid columns.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(0)]
public int ColumnMinWidth { get; set; }

Property Value

Type Default Description
Int32 0

An integer value that specifies a column’s minimum width.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ColumnMinWidth
ASP.NET Controls and MVC Extensions ASPxGridView
.Settings .ColumnMinWidth
GridViewProperties
.Settings .ColumnMinWidth
ASP.NET Bootstrap Controls BootstrapGridView
.Settings .ColumnMinWidth
ASP.NET MVC Extensions GridViewSettings
.Settings .ColumnMinWidth
GridViewSettings<RowType>
.Settings .ColumnMinWidth
MVCxGridView
.Settings .ColumnMinWidth
MVCxGridViewProperties
.Settings .ColumnMinWidth

Remarks

If column resizing is allowed (the ASPxGridViewBehaviorSettings.ColumnResizeMode property is set to Control or NextColumn), end-users can change the width of columns. Additionally, you can resize columns programmatically via the WebColumnBase.Width property. Use the ColumnMinWidth property to specify the column width constraints, limiting the resizing capability for all grid columns.

The minimum width for the particular column can be specified via the GridViewColumn.MinWidth property.

Note

The ColumnMinWidth property is in effect only if column resizing is enabled.

See Also