public ThreadIconViewer() { _model = App.Model; if (_model != null) { _model.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(OnModelPropertyChanged); } }
private void SelectDefaultSection(Pivot pivot) { AppDataModel model = App.Model; if (model != null) { int defaultIndex = (int)model.DefaultHomePage; pivot.SelectedIndex = defaultIndex; } }
public SettingsViewModel() { appModel = App.Model; }