DetailsView.GridLines Property
.NET Framework 2.0
Note: This property is new in the .NET Framework version 2.0.
Gets or sets the gridline style for a DetailsView 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)
Property Value
One of the GridLines values. The default is GridLines.Both.Use the GridLines property to specify the gridline style for a DetailsView 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. |
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: