I use MVVM for my application, the DataContext of the controls is assigned in my C # code (and not in XAML).
Therefore, XAML controls have no idea to which instance its DataContext type is set. The consequence of this is the lack of support for refactoring and intellisense for the related properties of my view model in XAML.
Is there a way to tell the control in XAML what type its DataContext bound to?
Therefore, when I change the name of a property in my ViewModel or search for all references to this property, I want this property to be counted in XAML bindings too.
source share