newbie question on IntegerTextBox mvvm

Hello,

In this example with the two boxes : https://help.syncfusion.com/wpf/integer-textbox/getting-started?cs-save-lang=1&cs-lang=csharp

The second box should change based on changes in the first.

I can't get this to work.

The ViewModel should be in a folder called ViewModel right?



3 Replies 1 reply marked as answer

BA BagavathiPerumal Apranandham Syncfusion Team September 22, 2022 01:00 PM UTC

Hi Frank,


We have created a sample based on your requirements. Please refer to the attached sample and video for your reference.



Regards,
Bagavathi Perumal A


Attachment: IntegerTextBox_d3ae1b3e.zip

Marked as answer

FV Frank van Diepenbos September 22, 2022 06:18 PM UTC

Ah,

Adding the Window.DataContext did the trick



BA BagavathiPerumal Apranandham Syncfusion Team September 23, 2022 12:04 PM UTC

Hi Frank,


We hope that your issue is resolved. Please let us know if you need any other assistance. We are happy to assist you.


Regards,
Bagavathi Perumal A



Loader.
Up arrow icon