.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelColumn.Width Property

Specifies the width of the current column in Windows Forms applications.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v20.2.dll


int Width { get; set; }
Property Width As Integer

Property Value

Type Description

An integer value specifying the current column width in pixels.


In ASP.NET Web XAF applications, column widths are determined by the web browser based on the styles defined by the current theme and the displayed content. So, this property has no effect.

Column width in XtraGrid is controlled by the GridOptionsView.ColumnAutoWidth property, so actual column width can differ from the Width property value.

See Also