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

Declaration

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

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