ASPxGridViewSettings.GridLines Property
Specifies which grid lines are visible in the grid.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| GridLines | Both | One of the enumeration values. |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to GridLines |
|---|---|
| ASPxGridView |
|
| GridViewProperties |
|
Remarks
If you apply a built-in DevExpress theme, note that some themes, such as the DevExpress Style, all Office 2010, or iOS themes, are not intended to display grid lines in the grid. In these themes, the GridLines property has no effect.
If the grid contains data cell bands, the GridLines property is not in effect. Both grid lines (vertical and horizontal) are always displayed.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GridLines property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.