Skip to main content

TreeListSettings.ColumnMinWidth Property

Gets or sets the minimum width of tree list columns.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.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
ASPxTreeList
.Settings .ColumnMinWidth

Remarks

If column resizing is allowed (the TreeListSettingsBehavior.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 TreeListColumn.MinWidth property.

Note

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

See Also