NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.GridLineStyle

Gets or sets the line style of the grid.

[Visual Basic]
Public Property GridLineStyle As DataGridLineStyle
[C#]
public DataGridLineStyle GridLineStyle {get; set;}
[C++]
public: __property DataGridLineStyle get_GridLineStyle();
public: __property void set_GridLineStyle(DataGridLineStyle);
[JScript]
public function get GridLineStyle() : DataGridLineStyle;
public function set GridLineStyle(DataGridLineStyle);

Property Value

One of the DataGridLineStyle values. The default is Solid.

Example [Visual Basic]

The following example changes the GridLineStyle property to show no lines.

[Visual Basic]

DataGrid1.GridLineStyle = DataGridLineStyle.None

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace | GridLineColor