TreeListColumn.VisibleWidth Property

Gets the visible width of the column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

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

Property Value

Type Description
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.

Implements

DevExpress.XtraTreeList.Internal.IHeaderObject.VisibleWidth
See Also