This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I am following the topic called "Add an Ellipses Button" in the online help to add an ellipses button to edit some text. In the example, there is a text box: <TextBlock Text="{Binding Value}" /> I expect that after the value is set by ellipses button this text box should display it. However I must have missed something because whatever I do I cannot make this happen. The best I can do is that I dismiss the dialog box and open it again. Next time, I can see the text box is filled with my changes. Can you tell me which part I did wrong? Thank you very much. Yang
|
|
|
Does the edited object implement INotifyPropertyChanged? WPF relies on this interface to know when property values have changed and to update bound controls. If your object does implement INotifyPropertyChanged and it's still not working, could you post the code that exhibits the problem so we can take a look please? Thanks! |
|
|
Thanks. Adding INotifyPropertyChanged solved the problem. -- Yang |
|