[UWP] PropertyChanged doesn't work if binding on ResourceDictionary
Ben
1
Reputation point
What we want to do: 1. Implement some textblock styles on a spearated ResourceDictionary.xaml (x:bind is not supported) 2. These textblock styles' FontSize can binding an object's property 3. The object can notify PropertyChanged and the styles' FontSize can be changed dynamically
We try many different way. it always works if add these styles in Page.xaml, but always failed if move these styles in ResourceDictionary.xaml(INotifyPropertyChanged.PropertyChanged doesn't works). So.. How can we achieve what we want? Thanks..
Sign in to answer