ASPxGridViewSettings.ColumnMinWidth Property
Gets or sets the minimum width of grid columns.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#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 Column |
---|---|
ASPx |
|
Grid |
|
#Remarks
If column resizing is allowed (the ASPxGridViewResizingSettings.ColumnResizeMode property is set to Control
or NextColumn
), 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 Column
property is in effect only if column resizing is enabled.