Avalonia DataGrid add row number by using styles

24 views Asked by At

I have many DataGrid elements in my solution and I need to add row numbers there. In Avalonia Github page they advices to use style. enter image description here

Could you tell me please how to create such style and show rowNumbers in first DataGrid column.

0

There are 0 answers