Back to Devexpress

ASPxGridViewSettings.ColumnMinWidth Property

aspnet-devexpress-dot-web-dot-aspxgridviewsettings-a3ce6f70.md

latest2.4 KB
Original Source

ASPxGridViewSettings.ColumnMinWidth Property

Gets or sets the minimum width of grid columns.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(0)]
public int ColumnMinWidth { get; set; }
vb
<DefaultValue(0)>
Public Property ColumnMinWidth As Integer

Property Value

TypeDefaultDescription
Int320

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ColumnMinWidth
ASPxGridView

.Settings .ColumnMinWidth

| | GridViewProperties |

.Settings .ColumnMinWidth

|

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 ColumnMinWidth property is in effect only if column resizing is enabled.

See Also

MinWidth

Grid View

Online Demo: Grid Columns - Resizing Columns

ASPxGridViewSettings Class

ASPxGridViewSettings Members

DevExpress.Web Namespace