IModelColumn.Width Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

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

Property Value

Type Description
Int32

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