Back to Devexpress

GridColumn.VisibleWidth Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-gridcolumn-383ec937.md

latest1.9 KB
Original Source

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

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

ColumnAutoWidth

Width

Grid Columns

GridColumn Class

GridColumn Members

DevExpress.XtraGrid.Columns Namespace