예제 #1
0
		internal void RestoreIgnoreSelectionChanged_HACK(TabState tabState, bool oldValue)
		{
			var tabManager = tabState.Owner;
			if (!oldValue)
				tabManager_dontSelectHack.Remove(tabManager);
			else
				tabManager_dontSelectHack[tabManager] = oldValue;
		}
예제 #2
0
 public void SetSelectedTab(TabState tabState)
 {
     tabControl.SelectedItem = tabState.TabItem;
 }
예제 #3
0
		internal bool IgnoreSelectionChanged_HACK(TabState tabState)
		{
			var tabManager = tabState.Owner;
			bool value;
			tabManager_dontSelectHack.TryGetValue(tabManager, out value);
			tabManager_dontSelectHack[tabManager] = true;
			return value;
		}