Back to Devexpress

TreeListColumn.VisibleWidth Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-bea7497d.md

latest2.4 KB
Original Source

TreeListColumn.VisibleWidth Property

Gets the visible width of the column.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public int VisibleWidth { get; }
vb
<Browsable(False)>
Public ReadOnly Property VisibleWidth As Integer

Property Value

TypeDescription
Int32

An integer value representing the visible column width.

|

Remarks

Initially, column width is specified by the column’s TreeListColumn.Width property. However, when the auto width feature is active (the TreeListOptionsView.AutoWidth option is enabled), this property value remains the same although the columns’ widths may have changed. This is done so that the initial widths of columns will be restored when the TreeListOptionsView.AutoWidth option is disabled.

The actual width of a column can be obtained using the VisibleWidth property. When the auto width feature is disabled, the VisibleWidth and TreeListColumn.Width properties return the same value.

See Also

Width

AutoWidth

BestFitColumns

MaxWidth

TreeListColumn Class

TreeListColumn Members

DevExpress.XtraTreeList.Columns Namespace