-
Beginner here, asking for help or advice. I have two ContentView pages (that have data binding, using MVVM toolkit) that are added to the MainPage as below. Everything works well, but I don't understand how to reference the DataType so that the bindings will compile. Setting the DataType to what was used for the ContentView pages
doesn't correct the issue. I've tried everything I could find, any ideas? Can the debugger be used to discover how the system resolved the dependencies at run-time? I could be adding the ContentView pages incorrectly, I don't know. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Do you connect your pages in maui program? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
The app doesn't work if x:DataType is given on MainPage as was done on Page1View and Page2View.
This worked, thanks! Implemented as follows (maybe there's a better way, I don't know?)