System.Web.UI.WebControls.GridView.GridLines Property

Gets or sets the gridline style for a System.Web.UI.WebControls.GridView control.

Syntax

[System.ComponentModel.DefaultValue(System.Web.UI.WebControls.GridLines.Both)]
public virtual GridLines GridLines { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the GridView.GridLines property to specify the gridline style for a System.Web.UI.WebControls.GridView control. The following table lists the available styles.

GridLines.None

No gridlines are displayed.

GridLines.Horizontal

Displays the horizontal gridlines only.

GridLines.Vertical

Displays the vertical gridlines only.

GridLines.Both

Displays both the horizontal and vertical gridlines.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0