I am using this example to get a row number in my gridview:
I altered the code from the example and added a dependency property to it, which I am binding to a property of an item from the itemssource collection of the gridview.
The binding is not working and I am I am a little stuck how to bind the rownumber of the row to my dataobject (a OrderRow object).
I receive the error that OrderRowData is not a property of OrderViewModel, OrderViewModel is my VM for the whole view?
The Itemssource of the gridview is set to a Rows property on my OrderViewModel, this Rows collection contains all the OrderRowData instances visible in the grid.
Any help would be appreciated.