Skip to main content
Tab

ASPxGridViewSettings.GridLines Property

Specifies which grid lines are visible in the grid.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(GridLines.Both)]
public GridLines GridLines { get; set; }

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
.Settings .GridLines
GridViewProperties
.Settings .GridLines

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.

See Also