System.Web.UI.WebControls.GridLines Enumeration

Specifies the gridline styles for controls that display items in a table structure.

Syntax

public enum GridLines

Remarks

The System.Web.UI.WebControls.GridLines enumeration represents the different gridline styles for controls that display items in a table structure. You can display the horizontal, the vertical, both the horizontal and vertical, or no grid lines.

Members

Member NameDescription
Both

Both horizontal and vertical gridlines are rendered.

Horizontal

Only horizontal gridlines are rendered.

None

No gridlines are rendered.

Vertical

Only vertical gridlines are rendered.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0