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

GridOptions Class

Contains options of the GridDashboardItem.

Namespace: DevExpress.DashboardCommon

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

Declaration

public class GridOptions

The following members return GridOptions objects:

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