GridColumn.VisibleWidth Property

Gets the actual column width. This property is useful in column auto-width mode (see GridOptionsView.ColumnAutoWidth).

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v20.1.dll


public int VisibleWidth { get; }
Public ReadOnly Property VisibleWidth As Integer

Property Value

Type Description

An integer value specifying the actual column width in pixels.


If the column auto-width feature is disabled, the VisibleWidth property is synced with the GridColumn.Width property. Otherwise, these properties may be out of sync. See GridColumn.Width to learn more.

See Also