TreeListColumn.VisibleWidth Property
Gets the visible width of the column.
Namespace: DevExpress.XtraTreeList.Columns
Assembly: DevExpress.XtraTreeList.v19.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VisibleWidth property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.