79075993

Date: 2024-10-10 20:06:05
Score: 2
Natty:
Report link

You bind the properties of your view model to your controls. A view model is not meant to have knowledge of the view and its controls.

So if you want the SelectedRow, you create a property in your view model and you bind to that property from your view.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Thijs Droog