TableStyle.GridLines Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기