Example #1
0
        protected TabClass2 CreateTab2()
        {
            var tab = new TabClass2()
            {
                TabName = "Tab class 2, with a long name", MyStringContent = "Try drag the tab outside the bonds of the tab control", MyNumberCollection = new int[] { 1, 2, 3, 4, }, MySelectedNumber = 1, TabIcon = new BitmapImage(new Uri("/Resources/2.png", UriKind.Relative))
            };

            return(tab);
        }
        protected TabClass2 CreateTab2()
        {
            var tab = new TabClass2() { TabName = "Tab class 2, with a long name", MyStringContent = "Try drag the tab outside the bonds of the tab control", MyNumberCollection = new int[] { 1, 2, 3, 4, }, MySelectedNumber = 1, TabIcon = new BitmapImage(new Uri("/Resources/2.png", UriKind.Relative)) };
            return tab;

        }