How to refresh a Binding from another thread ?

Using Microsoft Windows Presentation Foundation and Syncfusion WPF Libraries

How to refresh a Binding from another thread ?

Postby PGilbert on Thu Aug 03, 2017 11:50 pm

If you fix the following two functions in a )CLEAR WS:





Then if you execute the function 'test' you get a WPF window as expected with the TextBox text as: 'this is working'. After that if you execute the function 'refreshBind' you can change the value of the TextBox as expected. But if you try to refresh the namespace with 'refreshBind&' from another thread it is not working. Is there a way to make this work ?



Thanks in advance,

Pierre Gilbert
User avatar
PGilbert
 
Posts: 361
Joined: Sun Dec 13, 2009 8:46 pm
Location: Montréal, Québec, Canada

Re: How to refresh a Binding from another thread ?

Postby JohnD|Dyalog on Mon Aug 21, 2017 12:07 pm

User avatar
JohnD|Dyalog
 
Posts: 60
Joined: Wed Oct 01, 2008 9:35 am

Re: How to refresh a Binding from another thread ?

Postby PGilbert on Mon Aug 21, 2017 12:15 pm

Thanks John, its working for me too.
User avatar
PGilbert
 
Posts: 361
Joined: Sun Dec 13, 2009 8:46 pm
Location: Montréal, Québec, Canada


Return to WPF & Syncfusion

Who is online

Users browsing this forum: No registered users and 0 guests