Skip to main content

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.v22.2.dll

NuGet Package: DevExpress.Win.Grid

Declaration

[Browsable(false)]
public int VisibleWidth { get; }

Property Value

Type Description
Int32

An integer value specifying the actual column width in pixels.

Remarks

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