Skip to main content

TreeList.MinWidth Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.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