示例#1
0
 private void OnSelectedPanelChanged(ISidePanelViewModel oldSelection, ISidePanelViewModel newSelection)
 {
     if (oldSelection != null)
     {
         oldSelection.IsSelected = false;
     }
     if (newSelection != null)
     {
         newSelection.IsSelected = true;
     }
 }
 public void ShowBookmarks()
 {
     SelectedSidePanel = _bookmarks;
 }
 public void ShowQuickFilters()
 {
     SelectedSidePanel = _quickFilters;
 }