示例#1
0
        void MoveAllToOtherTabGroup(TabManager <TState> dst, TabManager <TState> src)
        {
            var activeTab = src.ActiveTabState;

            Merge(dst, src, 0);
            dst.SetSelectedTab(activeTab);
            SetActive(dst);
        }
示例#2
0
        public bool MoveToAndSelect(TabManager <TState> dstTabManager, TState srcTabState, int insertIndex)
        {
            bool res = MoveTo(dstTabManager, srcTabState, insertIndex);

            if (res)
            {
                dstTabManager.SetSelectedTab(srcTabState);
            }
            return(res);
        }