RelayCommand and refresh content not work #868
yamamotokazue
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm WPF beginner, I've encountered a problem.
background:
IDE:VS2022
.net Framework 4.8.1
CommunityToolkit.Mvvm 8.2.2
here is my code.
ViewModel
Xaml
the question is when I modify blue textbox, textblock will refresh content, that's good!
but when I click the button, do SyncMethodCommand, and t1 value changed to 'click' string,
but blue textbox and textblock didn't replace to 'click' string on view.
Did I miss something?
Thank you for your response.
===update.
in .net core 8, everything are fine.
so I back to 4.8.1 and t1 changed to T1,
but got some error (error CS0103).
can it be used in .net framework 4.8.1?
Beta Was this translation helpful? Give feedback.
All reactions