Can you guys give me an example of selecting a row in the grid using databinding?
My DataContext will have a custom object with two values:
My DataContext will have a custom object with two values:
- Object ItemsSource
- Int SelectedRow
I want to use updates to the DataContexts to auto update the grid, ItemsSource="{Binding Path=ItemsSource}" works for the data, but i cannot figure out the selected row.