Skip to main content
Tab

ASPxGridViewSettings.ColumnMinWidth Property

Gets or sets the minimum width of grid columns.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.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:

Object Type Path to ColumnMinWidth
ASPxGridView
.Settings .ColumnMinWidth
GridViewProperties
.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