Skip to main content

TreeListColumn.MinWidth Property

Gets or sets the minimum width of the column.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.2.dll

Declaration

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

Property Value

Type Default Description
Int32 0

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

Remarks

If column resizing is allowed (the TreeListSettingsBehavior.ColumnResizeMode property is set to Control or NextColumn), end-users can change a column’s size. Additionally, you can resize a column programmatically via the WebColumnBase.Width property. Use the MinWidth property to specify the column width constraints, limiting the column resizing capability.

The common minimum width for all tree list columns can be specified via the TreeListSettings.ColumnMinWidth property.

Note

The MinWidth property is in effect only if provided the column resizing is enabled.

See Also