Exemple #1
0
        protected TabClass1 CreateTab1()
        {
            var tab = new TabClass1()
            {
                TabName = "Tab class 1", MyStringContent = "Try drag the tab from left to right", TabIcon = new BitmapImage(new Uri("/Resources/1.png", UriKind.Relative))
            };

            return(tab);
        }
        protected TabClass1 CreateTabLoremIpsum()
        {
            var tab = new TabClass1()
            {
                TabName = "Tab class 1", MyStringContent = Properties.Resources.LoremImpsum, TabIcon = new BitmapImage(new Uri("/Resources/1.png", UriKind.Relative))
            };

            return(tab);
        }
 protected TabClass1 CreateTab1()
 {
     var tab = new TabClass1() { TabName = "Tab class 1", MyStringContent = "Try drag the tab from left to right", TabIcon = new BitmapImage(new Uri("/Resources/1.png", UriKind.Relative)) };
     return tab;
 }