dashboard-devexpress-dot-dashboardcommon-27b59ad8.md
Contains options of the GridDashboardItem.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public class GridOptions
Public Class GridOptions
The following members return GridOptions objects:
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;
grid.GridOptions.EnableBandedRows = True
grid.GridOptions.ShowHorizontalLines = False
grid.GridOptions.ColumnWidthMode = GridColumnWidthMode.AutoFitToContents
Object GridOptions
See Also