Skip to main content
A newer version of this page is available. .

IModelColumn.Width Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

int Width { get; set; }

Property Value

Type Description
Int32

An integer value specifying the current column width in pixels.

Remarks

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