The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Worksheet.DefaultColumnWidth Property

Gets or sets the default column width in units of measurement used in the workbook.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

float DefaultColumnWidth { get; set; }
Property DefaultColumnWidth As Single
float DefaultColumnWidth { get; set; }
Property DefaultColumnWidth As Single

Property Value

Type Description
Single

A Double value that is a column width in units of measurement that are in effect.

Property Value

Type Description
Single

A Double value that is a column width in units of measurement that are in effect.

Remarks

Use the DefaultColumnWidth, Worksheet.DefaultColumnWidthInCharacters or Worksheet.DefaultColumnWidthInPixels property to set the width of worksheet columns whose width is not specified explicitly. If you need to set the width of all columns on the worksheet to the same value and override all previously applied column width settings, use the Range.ColumnWidth property of the Row object corresponding to any row on a worksheet.

For more information on how to change the height of rows and the width of columns, see the How to: Specify Row Height or Column Width example.

See Also