public void UpdateCatalogBrowseMode(BrowseMode browseMode) { Preferences.Set(BROWSE_CATALOG_MODE_KEY, (int)browseMode); if (CatalogBrowseModeChangedEvent != null) { var args = new BrowseModeChangeEventArgs(browseMode); CatalogBrowseModeChangedEvent(this, args); } }
private void OnBrowseModeChanged(object sender, BrowseModeChangeEventArgs args) { viewModel.ClearItems(); }