DataGrid RowNumbers Property

The RowNumbers property specifies whether or not row numbers are displayed. The default is 1.