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.RowHeadersVisible

Gets or sets a value indicating whether the data grid's row headers are visible.

[Visual Basic]
Public Property RowHeadersVisible As Boolean
[C#]
public bool RowHeadersVisible {get; set;}
[C++]
public: __property bool get_RowHeadersVisible();
public: __property void set_RowHeadersVisible(bool);
[JScript]
public function get RowHeadersVisible() : Boolean;
public function set RowHeadersVisible(Boolean);

Property Value

true if the row headers are visible; otherwise false. The default is true.

Example [Visual Basic]

The following example toggles the RowHeadersVisible property.

[Visual Basic]

Private Sub ToggleRowHeader(ByRef myGrid As DataGrid)
   myGrid.RowHeadersVisible = myGrid.RowHeadersVisible Xor True
End Sub

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace | ParentRowsVisible | RowHeaderWidth | VisibleRowCount | VisibleColumnCount