void MoveAllToOtherTabGroup(TabManager <TState> dst, TabManager <TState> src) { var activeTab = src.ActiveTabState; Merge(dst, src, 0); dst.SetSelectedTab(activeTab); SetActive(dst); }
public bool MoveToAndSelect(TabManager <TState> dstTabManager, TState srcTabState, int insertIndex) { bool res = MoveTo(dstTabManager, srcTabState, insertIndex); if (res) { dstTabManager.SetSelectedTab(srcTabState); } return(res); }