timossv
timossv

Reputation: 13

Databinding does not update property value on back navigation

<TextBlock Text="{Binding Name}"/>    

Binding works fine when I first navigate to a page containing the code above. Then I navigate forward to a page that that makes changes to the model (the Name property) and navigate back (with back key). The Text property, however, is still displaying the old value. How can I force the bound value to update on back navigation.

Upvotes: 1

Views: 436

Answers (1)

Shawn Kendrot
Shawn Kendrot

Reputation: 12465

Make sure that your model implements INotifyPropertyChanged and that the PropertyChanged event is firing within the setter of Name

Upvotes: 2

Related Questions