Hi shaggygi,
I believe you wanted to say that Binding IntelliSense is still not working for you. Based on my understanding, there are a few things that need to be declared in order to make IntelliSense work:
I hope this helped you,
Regards.
Gabriel Ostrowsky.
https://blogs.southworks.net/gostrowsky
I believe you wanted to say that Binding IntelliSense is still not working for you. Based on my understanding, there are a few things that need to be declared in order to make IntelliSense work:
- Data Context should be defined in View's Xaml code without being injected from the container. So it would be available for DesignTime and Binding can resolve the Properties with IntelliSense. Local namespace declaration would be needed to reference the DataContext.
-
Also, you would need to declare the following namespaces for the proper IntelliSense to work:
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Bear in mind that declaring the DataContext directly into xaml code couples the View with its ViewModel/Model and the container is not able to resolve any dependency from it. Therefore, one possible way to solve this would be to declare a Mock ViewModel which implements every property into xaml code, and resolve the proper ViewModel from the container.I hope this helped you,
Regards.
Gabriel Ostrowsky.
https://blogs.southworks.net/gostrowsky