Skip to main content

GridOptions Class

Contains options of the GridDashboardItem.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public class GridOptions

Remarks

The GridOptions class contains various grid options, such as grid line visibility (the GridOptions.ShowVerticalLines and GridOptions.ShowHorizontalLines properties), banded rows (GridOptions.EnableBandedRows), cell merging (GridOptions.AllowCellMerge), etc.

To access grid options, use the GridDashboardItem.GridOptions property.

The following code snippet shows how to specify some of the grid options:

grid.GridOptions.EnableBandedRows = true;
grid.GridOptions.ShowHorizontalLines = false;
grid.GridOptions.ColumnWidthMode = GridColumnWidthMode.AutoFitToContents;

Inheritance

Object
GridOptions
See Also