Hi all,
I am creating wpf project using MVVM pattern.
Please tell me how can i bind decimal value with TextBox control using mvvm.?
Thankyou
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
R J192 reputationPosted Aug 14, 2014, 11:11 AM EDT
You can use below approach:
In ViewModel,
In View (xaml):
Or you can use advanced concept, you no need to worry about INotifyPropertychanged where Fody targets will take care at compile and run time.
For more information -
https://github.com/Fody/PropertyChanged