Back to Devexpress

GridColumnWidthMode Enum

dashboard-devexpress-dot-dashboardcommon-dd91be61.md

latest2.1 KB
Original Source

GridColumnWidthMode Enum

Lists values that specify the mode used to manage grid column widths.

Namespace : DevExpress.DashboardCommon

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

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public enum GridColumnWidthMode
vb
Public Enum GridColumnWidthMode

Members

NameDescription
Manual

The grid allows you to adjust column widths manually. You can specify the mode used to manage the width of individual columns using the GridColumnBase.WidthType property.

| | AutoFitToContents |

The grid adjusts columns automatically to the minimum width required to completely display its content. If the entire content cannot be displayed within the dashboard item, horizontal scrolling is enabled.

| | AutoFitToGrid |

The grid adjusts the width of all columns to fit their content in an optimal way. If you are changing the size of the dashboard item, the width of columns is changed proportionally.

|

The following properties accept/return GridColumnWidthMode values:

Remarks

Values listed in this enumeration are used to set the GridOptions.ColumnWidthMode property.

To specify the width of individual columns manually, set the GridOptions.ColumnWidthMode property to GridColumnWidthMode.Manual.

See Also

GridColumnFixedWidthType

DevExpress.DashboardCommon Namespace