question

EduardoGomez-1870 avatar image
0 Votes"
EduardoGomez-1870 asked ·

Binding error

Hello.


This app was working fine, it was populating the font, and the numbers coming from my View Model, but for some reason it broke, I notice that Visual Studio sometimes acts stupid (especially on UWP development)


could somebody help me resolve this issue anonymous user


https://pastebin.com/PDPwzVf0


for some reason, it can't find my VM.


uwp-xaml
· 4
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

By my testing, the fontSizes lists displayed well, so what does "for some reason it broke" mean? In addition, I found the listView didn't display, did you implement INotifyPropertyChanged interface for properties in Note and NoteBook model? About "for some reason, it can't find my VM.", under what unexpected behavior you think "it can't find your VM"?

0 Votes 0 · ·

It means that sometime it work, sometimes it will turn black when I click on the drop down, also I haven't touch the list view, because I haven't fixed the recognition problem. If you open visual studio, it will always tell me "Cannot find VM" this is very annoyingalt text



by the way I have my project here, if you could please help me fix the speech problem

0 Votes 0 · ·
screenshot-321.png (644.1 KiB)

Do you mean you just drop down the CombBox, sometimes it will turn black? I tested many times, but didn't reproduce. In addition, about the "Cannot find VM", it just the compiler issues, you can ignore it and generally when you rebuild the project, it will disappear.

0 Votes 0 · ·
FayWang-MSFT avatar image FayWang-MSFT EduardoGomez-1870 ·

Hi, have you solved your issue? Do you have any other questions?

0 Votes 0 · ·

1 Answer

xequence avatar image
0 Votes"
xequence answered ·

In the constructor of your NotesPage you must set this.dataContext = "something";

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.