コード例 #1
0
        public void UpdateCatalogBrowseMode(BrowseMode browseMode)
        {
            Preferences.Set(BROWSE_CATALOG_MODE_KEY, (int)browseMode);

            if (CatalogBrowseModeChangedEvent != null)
            {
                var args = new BrowseModeChangeEventArgs(browseMode);
                CatalogBrowseModeChangedEvent(this, args);
            }
        }
コード例 #2
0
 private void OnBrowseModeChanged(object sender, BrowseModeChangeEventArgs args)
 {
     viewModel.ClearItems();
 }