Sherlock
Sherlock

Reputation: 5627

How to remove the top left cell in DataGrid

Is there a way I can remove the top left cell in a DataGrid ?

enter image description here

Upvotes: 1

Views: 1477

Answers (1)

AAlferez
AAlferez

Reputation: 1502

If you want to hide it, just set RowHeadersVisible property to false.

myDataGridTableStyle.RowHeadersVisible = false;

If you want to change the behaviour:

Link

Hope it helps

MSDN properties for RowHeadersVisible Property

Upvotes: 4

Related Questions