ערוך

שתף באמצעות


TableStyle.GridLines Property

Definition

Gets or sets a value that specifies whether the border between the cells of the table control is displayed.

public:
 virtual property System::Web::UI::WebControls::GridLines GridLines { System::Web::UI::WebControls::GridLines get(); void set(System::Web::UI::WebControls::GridLines value); };
[System.ComponentModel.Bindable(true)]
public virtual System.Web.UI.WebControls.GridLines GridLines { get; set; }
public virtual System.Web.UI.WebControls.GridLines GridLines { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.GridLines : System.Web.UI.WebControls.GridLines with get, set
member this.GridLines : System.Web.UI.WebControls.GridLines with get, set
Public Overridable Property GridLines As GridLines

Property Value

One of the GridLines enumeration values. The default is Both.

Attributes

Exceptions

The specified value is not one of the GridLines enumeration values.

Remarks

Use the GridLines property to specify whether the border between the cells of the data list control is displayed. This property is set with one of the GridLines enumeration values. The following table lists the possible values.

Value Description
None No cell border is displayed.
Horizontal Only the upper and lower borders of the cells in the data list control are displayed.
Vertical Only the left and right borders of the cells in the data list control are displayed.
Both All borders of the cells in the data list control are displayed.

The value of this property is stored in view state.

Applies to

See also