The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridOptions Class

Contains options of the GridDashboardItem.

Namespace: DevExpress.DashboardCommon

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

Declaration

public class GridOptions
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