GridView.GridLines Property
.NET Framework 3.0
Gets or sets the gridline style for a GridView control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: virtual property GridLines GridLines { GridLines get (); void set (GridLines value); }
/** @property */ public GridLines get_GridLines () /** @property */ public void set_GridLines (GridLines value)
public function get GridLines () : GridLines public function set GridLines (value : GridLines)
Not applicable.
Property Value
One of the GridLines values. The default is GridLines.Both.Use the GridLines property to specify the gridline style for a GridView control. The following table lists the available styles.
| Style | Description |
|---|---|
| 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. |
Community Additions
ADD
Show: