Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeList.MinWidth Property

Gets or sets the minimum allowed width of all the columns in a Tree List.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

[DefaultValue(20)]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public int MinWidth { get; set; }

#Property Value

Type Default Description
Int32 20

An integer value that specifies the minimum width of columns, in pixels.

#Remarks

By default, the MinWidth property is set to 0. In this instance, the minimum allowed width of columns is 20 pixels. Set this property to a value other than 0 to specify the minimum allowed column width.

See Also