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

GridColumnBase.WidthType Property

Gets or sets the mode used to manage the width of the current column.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll

Declaration

[DefaultValue(75)]
public GridColumnFixedWidthType WidthType { get; set; }

Property Value

Type Default Description
GridColumnFixedWidthType 75

A GridColumnFixedWidthType enumeration value that specifies the mode used to manage the width of the current column.

Available values:

Name Description
Weight

The column has the fixed relative width. Use the GridColumnBase.Weight property to specify the column relative width.

FitToContent

The column has the fixed width required to completely display its content.

FixedWidth

The column has a fixed width. Use the GridColumnBase.FixedWidth property to specify the fixed column width.

Remarks

To specify the width of the current grid column manually, set the GridOptions.ColumnWidthMode to GridColumnWidthMode.Manual.

See Also