I have a ListBox data bound to an ObservableCollection<Employee>. It is working well. I need to change the FontFamily and FontSize based on user setting in IsolatedStorageSettings.ApplicationSettings. Can anyone suggest the best design pattern for a situation such as this? I am trying to avoid doing this in C# code behind. It would be better if I can bind the FontSize and FontFamily properties in the ListBox data template to the values in the ApplicationSettings. Not sure how to do it.
I have a ListBox data bound to an ObservableCollection<Employee> . It is working well.
Share
Load the FontFamily and FontSize into your ViewModel, as properties, and bind to them.