Back to Devexpress

TreeList.MinWidth Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-b7428aaf.md

latest1.5 KB
Original Source

TreeList.MinWidth Property

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(20)]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public int MinWidth { get; set; }
vb
<DefaultValue(20)>
<XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)>
Public Property MinWidth As Integer

Property Value

TypeDefaultDescription
Int3220

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

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace