SelectTab() public method

Select a tab and an item on that tab
public SelectTab ( SIL.SilSidePane.Tab tab ) : bool
tab SIL.SilSidePane.Tab
return bool
Exemplo n.º 1
0
        public void SelectTab_basic()
        {
            Tab tab = new Tab("tabname");

            _sidePane.AddTab(tab);
            bool successful1 = _sidePane.SelectTab(tab);

            Assert.IsTrue(successful1);
            _sidePane.SelectTab(tab, true);
            bool successful2 = _sidePane.SelectTab(tab, false);

            Assert.IsTrue(successful2);
        }