private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_3fa1f80e9e6e4ec2bb8ddaf591950b02(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_b3ca292c907742a284e8481793a4dd0c = new global::System.Windows.TemplateInstance();

            templateInstance_b3ca292c907742a284e8481793a4dd0c.TemplateOwner = templateOwner;
            var Border_b17e5b1f5958447d9318cc54f3d93c32 = new global::System.Windows.Controls.Border();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("LayoutRoot", Border_b17e5b1f5958447d9318cc54f3d93c32);
            Border_b17e5b1f5958447d9318cc54f3d93c32.Name = "LayoutRoot";
            var ContentPresenter_abfcda7e9f35491690b9dde27cf9582f = new global::System.Windows.Controls.ContentPresenter();
            var Binding_146cea452c694e0395995cb1eff9ba1b          = new global::System.Windows.Data.Binding();

            Binding_146cea452c694e0395995cb1eff9ba1b.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"ContentTemplate");
            var RelativeSource_ddb054a750774fc8894df6f9e387aa1d = new global::System.Windows.Data.RelativeSource();

            RelativeSource_ddb054a750774fc8894df6f9e387aa1d.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_146cea452c694e0395995cb1eff9ba1b.RelativeSource = RelativeSource_ddb054a750774fc8894df6f9e387aa1d;


            Binding_146cea452c694e0395995cb1eff9ba1b.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

            var Binding_12d5b1fbd02a4c389bcd75c152fc8bcd = new global::System.Windows.Data.Binding();

            Binding_12d5b1fbd02a4c389bcd75c152fc8bcd.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Content");
            var RelativeSource_00489e5430aa4d0bbbb386e2a4cb4c5e = new global::System.Windows.Data.RelativeSource();

            RelativeSource_00489e5430aa4d0bbbb386e2a4cb4c5e.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_12d5b1fbd02a4c389bcd75c152fc8bcd.RelativeSource = RelativeSource_00489e5430aa4d0bbbb386e2a4cb4c5e;


            Binding_12d5b1fbd02a4c389bcd75c152fc8bcd.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

            var Binding_f6856b00b01c4949adbfa7d7eb138047 = new global::System.Windows.Data.Binding();

            Binding_f6856b00b01c4949adbfa7d7eb138047.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Padding");
            var RelativeSource_17d7ca33dc184472a36858c8f05cb252 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_17d7ca33dc184472a36858c8f05cb252.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_f6856b00b01c4949adbfa7d7eb138047.RelativeSource = RelativeSource_17d7ca33dc184472a36858c8f05cb252;


            Binding_f6856b00b01c4949adbfa7d7eb138047.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;


            Border_b17e5b1f5958447d9318cc54f3d93c32.Child = ContentPresenter_abfcda7e9f35491690b9dde27cf9582f;

            var Binding_f7a1c9bac29c44d19f7197cce7d417d3 = new global::System.Windows.Data.Binding();

            Binding_f7a1c9bac29c44d19f7197cce7d417d3.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"BorderBrush");
            var RelativeSource_94f8889d9e204045b3de694995f8b982 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_94f8889d9e204045b3de694995f8b982.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_f7a1c9bac29c44d19f7197cce7d417d3.RelativeSource = RelativeSource_94f8889d9e204045b3de694995f8b982;


            Binding_f7a1c9bac29c44d19f7197cce7d417d3.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

            var Binding_c8aa62ed456b4ae2b9b438f92ed9acce = new global::System.Windows.Data.Binding();

            Binding_c8aa62ed456b4ae2b9b438f92ed9acce.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"BorderThickness");
            var RelativeSource_768beddafb544b6b977e5cf5e1647722 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_768beddafb544b6b977e5cf5e1647722.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_c8aa62ed456b4ae2b9b438f92ed9acce.RelativeSource = RelativeSource_768beddafb544b6b977e5cf5e1647722;


            Binding_c8aa62ed456b4ae2b9b438f92ed9acce.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

            var Binding_82f75b1847c54527a5eaa8d0cc4da36d = new global::System.Windows.Data.Binding();

            Binding_82f75b1847c54527a5eaa8d0cc4da36d.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Background");
            var RelativeSource_b4771e62d8674080ac7d40b42b921d07 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_b4771e62d8674080ac7d40b42b921d07.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_82f75b1847c54527a5eaa8d0cc4da36d.RelativeSource = RelativeSource_b4771e62d8674080ac7d40b42b921d07;


            Binding_82f75b1847c54527a5eaa8d0cc4da36d.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;



            ContentPresenter_abfcda7e9f35491690b9dde27cf9582f.SetBinding(global::System.Windows.Controls.ContentControl.ContentTemplateProperty, Binding_146cea452c694e0395995cb1eff9ba1b);
            ContentPresenter_abfcda7e9f35491690b9dde27cf9582f.SetBinding(global::System.Windows.Controls.ContentControl.ContentProperty, Binding_12d5b1fbd02a4c389bcd75c152fc8bcd);
            ContentPresenter_abfcda7e9f35491690b9dde27cf9582f.SetBinding(global::System.Windows.FrameworkElement.MarginProperty, Binding_f6856b00b01c4949adbfa7d7eb138047);
            Border_b17e5b1f5958447d9318cc54f3d93c32.SetBinding(global::System.Windows.Controls.Border.BorderBrushProperty, Binding_f7a1c9bac29c44d19f7197cce7d417d3);
            Border_b17e5b1f5958447d9318cc54f3d93c32.SetBinding(global::System.Windows.Controls.Border.BorderThicknessProperty, Binding_c8aa62ed456b4ae2b9b438f92ed9acce);
            Border_b17e5b1f5958447d9318cc54f3d93c32.SetBinding(global::System.Windows.Controls.Border.BackgroundProperty, Binding_82f75b1847c54527a5eaa8d0cc4da36d);

            templateInstance_b3ca292c907742a284e8481793a4dd0c.TemplateContent = Border_b17e5b1f5958447d9318cc54f3d93c32;
            return(templateInstance_b3ca292c907742a284e8481793a4dd0c);
        }
Example #2
0
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_7ccfff71a0114b1295e3d943a9e6e0c7(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_8450f63a5d83462e8f83459f689dc38c = new global::System.Windows.TemplateInstance();

            templateInstance_8450f63a5d83462e8f83459f689dc38c.TemplateOwner = templateOwner;
            var Grid_7d5f63f475a54a5bbff239be7e8be75e  = new global::System.Windows.Controls.Grid();
            var Thumb_6726f3e455d64fbab3cf89bb054990f8 = new global::System.Windows.Controls.Primitives.Thumb();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("PART_Thumb", Thumb_6726f3e455d64fbab3cf89bb054990f8);
            Thumb_6726f3e455d64fbab3cf89bb054990f8.Name    = "PART_Thumb";
            Thumb_6726f3e455d64fbab3cf89bb054990f8.Opacity = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"0");

            var ContentPresenter_dad0417808c74b25ac4c5e5182a5992a = new global::System.Windows.Controls.ContentPresenter();

            ContentPresenter_dad0417808c74b25ac4c5e5182a5992a.IsHitTestVisible = (global::System.Boolean)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Boolean), @"False");
            var Binding_68e8976a53a44a37a63274c826a3281b = new global::System.Windows.Data.Binding();

            Binding_68e8976a53a44a37a63274c826a3281b.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Element");
            var RelativeSource_7dfbc1f104f2418e9ccf585fb2f3a82d = new global::System.Windows.Data.RelativeSource();

            RelativeSource_7dfbc1f104f2418e9ccf585fb2f3a82d.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_68e8976a53a44a37a63274c826a3281b.RelativeSource = RelativeSource_7dfbc1f104f2418e9ccf585fb2f3a82d;


            Binding_68e8976a53a44a37a63274c826a3281b.TemplateOwner = templateInstance_8450f63a5d83462e8f83459f689dc38c;

            var Binding_d0ae12447320407e8b2b25cb5fd88bcb = new global::System.Windows.Data.Binding();

            Binding_d0ae12447320407e8b2b25cb5fd88bcb.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"ContentTemplate");
            var RelativeSource_6c048aeffe8f46d4be81b962305286a7 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_6c048aeffe8f46d4be81b962305286a7.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_d0ae12447320407e8b2b25cb5fd88bcb.RelativeSource = RelativeSource_6c048aeffe8f46d4be81b962305286a7;


            Binding_d0ae12447320407e8b2b25cb5fd88bcb.TemplateOwner = templateInstance_8450f63a5d83462e8f83459f689dc38c;


            Grid_7d5f63f475a54a5bbff239be7e8be75e.Children.Add(Thumb_6726f3e455d64fbab3cf89bb054990f8);
            Grid_7d5f63f475a54a5bbff239be7e8be75e.Children.Add(ContentPresenter_dad0417808c74b25ac4c5e5182a5992a);

            var Binding_369df61b15e2483cb102f8860ba54d8d = new global::System.Windows.Data.Binding();

            Binding_369df61b15e2483cb102f8860ba54d8d.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Background");
            var RelativeSource_841fdd2e411c415fb0cc3ece5a76c8ef = new global::System.Windows.Data.RelativeSource();

            RelativeSource_841fdd2e411c415fb0cc3ece5a76c8ef.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_369df61b15e2483cb102f8860ba54d8d.RelativeSource = RelativeSource_841fdd2e411c415fb0cc3ece5a76c8ef;


            Binding_369df61b15e2483cb102f8860ba54d8d.TemplateOwner = templateInstance_8450f63a5d83462e8f83459f689dc38c;



            ContentPresenter_dad0417808c74b25ac4c5e5182a5992a.SetBinding(global::System.Windows.Controls.ContentControl.ContentProperty, Binding_68e8976a53a44a37a63274c826a3281b);
            ContentPresenter_dad0417808c74b25ac4c5e5182a5992a.SetBinding(global::System.Windows.Controls.ContentControl.ContentTemplateProperty, Binding_d0ae12447320407e8b2b25cb5fd88bcb);
            Grid_7d5f63f475a54a5bbff239be7e8be75e.SetBinding(global::System.Windows.Controls.Panel.BackgroundProperty, Binding_369df61b15e2483cb102f8860ba54d8d);

            templateInstance_8450f63a5d83462e8f83459f689dc38c.TemplateContent = Grid_7d5f63f475a54a5bbff239be7e8be75e;
            return(templateInstance_8450f63a5d83462e8f83459f689dc38c);
        }
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_d2528842177b4d42b5fa6765e0841e5e(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_82c2e68d6ef24c5e90d456a94e511620 = new global::System.Windows.TemplateInstance();

            templateInstance_82c2e68d6ef24c5e90d456a94e511620.TemplateOwner = templateOwner;
            var StackPanel_88ea3dbd18db4daf93783037aab66e3a = new global::System.Windows.Controls.StackPanel();

            var Border_20d9adcdf5c74d56aacd768851f0395b = new global::System.Windows.Controls.Border();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("OuterBorder", Border_20d9adcdf5c74d56aacd768851f0395b);
            Border_20d9adcdf5c74d56aacd768851f0395b.Name = "OuterBorder";
            var Grid_86d48d9e220e4b56a3265cb1b7073abf         = new global::System.Windows.Controls.Grid();
            var ToggleButton_05554ddcffb4400da5d7d822c4ad4729 = new global::System.Windows.Controls.Primitives.ToggleButton();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("DropDownToggle", ToggleButton_05554ddcffb4400da5d7d822c4ad4729);
            ToggleButton_05554ddcffb4400da5d7d822c4ad4729.Name = "DropDownToggle";
            ToggleButton_05554ddcffb4400da5d7d822c4ad4729.HorizontalAlignment        = global::System.Windows.HorizontalAlignment.Stretch;
            ToggleButton_05554ddcffb4400da5d7d822c4ad4729.VerticalAlignment          = global::System.Windows.VerticalAlignment.Stretch;
            ToggleButton_05554ddcffb4400da5d7d822c4ad4729.HorizontalContentAlignment = global::System.Windows.HorizontalAlignment.Right;
            ToggleButton_05554ddcffb4400da5d7d822c4ad4729.VerticalContentAlignment   = global::System.Windows.VerticalAlignment.Center;
            var Path_970e4c9c536441aaa2b7cec321ab8522 = new global::System.Windows.Shapes.Path();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("arrow", Path_970e4c9c536441aaa2b7cec321ab8522);
            Path_970e4c9c536441aaa2b7cec321ab8522.Name                = "arrow";
            Path_970e4c9c536441aaa2b7cec321ab8522.Visibility          = global::System.Windows.Visibility.Visible;
            Path_970e4c9c536441aaa2b7cec321ab8522.Stroke              = (global::System.Windows.Media.Brush)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Media.Brush), @"Black");
            Path_970e4c9c536441aaa2b7cec321ab8522.Width               = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"13");
            Path_970e4c9c536441aaa2b7cec321ab8522.Height              = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"9");
            Path_970e4c9c536441aaa2b7cec321ab8522.StrokeThickness     = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"3");
            Path_970e4c9c536441aaa2b7cec321ab8522.HorizontalAlignment = global::System.Windows.HorizontalAlignment.Center;
            Path_970e4c9c536441aaa2b7cec321ab8522.VerticalAlignment   = global::System.Windows.VerticalAlignment.Center;
            Path_970e4c9c536441aaa2b7cec321ab8522.Stretch             = global::System.Windows.Media.Stretch.None;
            Path_970e4c9c536441aaa2b7cec321ab8522.Data                = (global::System.Windows.Media.Geometry)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Media.Geometry), @"M 1.5,2.25 L 6.75,7.5 L 12,2.25");

            ToggleButton_05554ddcffb4400da5d7d822c4ad4729.Content = Path_970e4c9c536441aaa2b7cec321ab8522;


            var ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c = new global::System.Windows.Controls.ContentPresenter();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("ContentPresenter", ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c);
            ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c.Name             = "ContentPresenter";
            ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c.IsHitTestVisible = (global::System.Boolean)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Boolean), @"False");
            ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c.MinHeight        = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"24");
            var Binding_33874615a15f4f4a8e7a1b323f027661 = new global::System.Windows.Data.Binding();

            Binding_33874615a15f4f4a8e7a1b323f027661.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Padding");
            var RelativeSource_07f3d5f00ac24ae69b89f38d0c235cde = new global::System.Windows.Data.RelativeSource();

            RelativeSource_07f3d5f00ac24ae69b89f38d0c235cde.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_33874615a15f4f4a8e7a1b323f027661.RelativeSource = RelativeSource_07f3d5f00ac24ae69b89f38d0c235cde;


            Binding_33874615a15f4f4a8e7a1b323f027661.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

            var Binding_7636a81645ff4681b77f33c835487470 = new global::System.Windows.Data.Binding();

            Binding_7636a81645ff4681b77f33c835487470.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Content");
            var RelativeSource_e76ae58c16854addaddd66c7a1c7c2f1 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_e76ae58c16854addaddd66c7a1c7c2f1.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_7636a81645ff4681b77f33c835487470.RelativeSource = RelativeSource_e76ae58c16854addaddd66c7a1c7c2f1;


            Binding_7636a81645ff4681b77f33c835487470.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

            var Binding_5ac07c7327b640cc8f4d86a5562f82b1 = new global::System.Windows.Data.Binding();

            Binding_5ac07c7327b640cc8f4d86a5562f82b1.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"ContentTemplate");
            var RelativeSource_0cf506501910429a8f6910618ca3a865 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_0cf506501910429a8f6910618ca3a865.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_5ac07c7327b640cc8f4d86a5562f82b1.RelativeSource = RelativeSource_0cf506501910429a8f6910618ca3a865;


            Binding_5ac07c7327b640cc8f4d86a5562f82b1.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;


            Grid_86d48d9e220e4b56a3265cb1b7073abf.Children.Add(ToggleButton_05554ddcffb4400da5d7d822c4ad4729);
            Grid_86d48d9e220e4b56a3265cb1b7073abf.Children.Add(ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c);


            Border_20d9adcdf5c74d56aacd768851f0395b.Child = Grid_86d48d9e220e4b56a3265cb1b7073abf;

            var Binding_6ba1ab7c5d3b4b12902abe26bb950e80 = new global::System.Windows.Data.Binding();

            Binding_6ba1ab7c5d3b4b12902abe26bb950e80.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Background");
            var RelativeSource_4201ad0529f54230bb21db229f3bef75 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_4201ad0529f54230bb21db229f3bef75.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_6ba1ab7c5d3b4b12902abe26bb950e80.RelativeSource = RelativeSource_4201ad0529f54230bb21db229f3bef75;


            Binding_6ba1ab7c5d3b4b12902abe26bb950e80.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

            var Binding_2d77a6f469534fe8ae41b6bb9c1561b5 = new global::System.Windows.Data.Binding();

            Binding_2d77a6f469534fe8ae41b6bb9c1561b5.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"BorderBrush");
            var RelativeSource_6c5f4f40220a4b309bdd18fc28fc3f1a = new global::System.Windows.Data.RelativeSource();

            RelativeSource_6c5f4f40220a4b309bdd18fc28fc3f1a.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_2d77a6f469534fe8ae41b6bb9c1561b5.RelativeSource = RelativeSource_6c5f4f40220a4b309bdd18fc28fc3f1a;


            Binding_2d77a6f469534fe8ae41b6bb9c1561b5.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

            var Binding_401409c10d7a44d08f75e12adf5a1fec = new global::System.Windows.Data.Binding();

            Binding_401409c10d7a44d08f75e12adf5a1fec.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"BorderThickness");
            var RelativeSource_9455df17ab39482e83977458c783f35f = new global::System.Windows.Data.RelativeSource();

            RelativeSource_9455df17ab39482e83977458c783f35f.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_401409c10d7a44d08f75e12adf5a1fec.RelativeSource = RelativeSource_9455df17ab39482e83977458c783f35f;


            Binding_401409c10d7a44d08f75e12adf5a1fec.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;


            var Popup_71bbbf41c17841138e8da63a6e3cdbe0 = new global::System.Windows.Controls.Primitives.Popup();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Popup", Popup_71bbbf41c17841138e8da63a6e3cdbe0);
            Popup_71bbbf41c17841138e8da63a6e3cdbe0.Name   = "Popup";
            Popup_71bbbf41c17841138e8da63a6e3cdbe0.IsOpen = (global::System.Boolean)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Boolean), @"False");
            var Border_ffceabf3c7fd4ca6bf00147427628def = new global::System.Windows.Controls.Border();

            Border_ffceabf3c7fd4ca6bf00147427628def.Background      = (global::System.Windows.Media.Brush)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Media.Brush), @"White");
            Border_ffceabf3c7fd4ca6bf00147427628def.BorderBrush     = (global::System.Windows.Media.Brush)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Media.Brush), @"Black");
            Border_ffceabf3c7fd4ca6bf00147427628def.BorderThickness = (global::System.Windows.Thickness)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Thickness), @"1");
            var ScrollViewer_75902183557049a3a0c20c1c02e344cf = new global::System.Windows.Controls.ScrollViewer();

            ScrollViewer_75902183557049a3a0c20c1c02e344cf.VerticalScrollBarVisibility   = global::System.Windows.Controls.ScrollBarVisibility.Auto;
            ScrollViewer_75902183557049a3a0c20c1c02e344cf.HorizontalScrollBarVisibility = global::System.Windows.Controls.ScrollBarVisibility.Disabled;
            var ItemsPresenter_3395888e6b3247d79b98cf06e33db542 = new global::System.Windows.Controls.ItemsPresenter();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("ItemsHost", ItemsPresenter_3395888e6b3247d79b98cf06e33db542);
            ItemsPresenter_3395888e6b3247d79b98cf06e33db542.Name = "ItemsHost";

            ScrollViewer_75902183557049a3a0c20c1c02e344cf.Content = ItemsPresenter_3395888e6b3247d79b98cf06e33db542;

            var Binding_3cf6d6b574d54c96b2f3afda89bfc3a5 = new global::System.Windows.Data.Binding();

            Binding_3cf6d6b574d54c96b2f3afda89bfc3a5.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"MaxDropDownHeight");
            var RelativeSource_e259ece9a2184ea5ae4f20c97a5eb0ff = new global::System.Windows.Data.RelativeSource();

            RelativeSource_e259ece9a2184ea5ae4f20c97a5eb0ff.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_3cf6d6b574d54c96b2f3afda89bfc3a5.RelativeSource = RelativeSource_e259ece9a2184ea5ae4f20c97a5eb0ff;


            Binding_3cf6d6b574d54c96b2f3afda89bfc3a5.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;


            Border_ffceabf3c7fd4ca6bf00147427628def.Child = ScrollViewer_75902183557049a3a0c20c1c02e344cf;


            Popup_71bbbf41c17841138e8da63a6e3cdbe0.Child = Border_ffceabf3c7fd4ca6bf00147427628def;


            StackPanel_88ea3dbd18db4daf93783037aab66e3a.Children.Add(Border_20d9adcdf5c74d56aacd768851f0395b);
            StackPanel_88ea3dbd18db4daf93783037aab66e3a.Children.Add(Popup_71bbbf41c17841138e8da63a6e3cdbe0);



            ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c.SetBinding(global::System.Windows.FrameworkElement.MarginProperty, Binding_33874615a15f4f4a8e7a1b323f027661);
            ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c.SetBinding(global::System.Windows.Controls.ContentControl.ContentProperty, Binding_7636a81645ff4681b77f33c835487470);
            ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c.SetBinding(global::System.Windows.Controls.ContentControl.ContentTemplateProperty, Binding_5ac07c7327b640cc8f4d86a5562f82b1);
            Border_20d9adcdf5c74d56aacd768851f0395b.SetBinding(global::System.Windows.Controls.Border.BackgroundProperty, Binding_6ba1ab7c5d3b4b12902abe26bb950e80);
            Border_20d9adcdf5c74d56aacd768851f0395b.SetBinding(global::System.Windows.Controls.Border.BorderBrushProperty, Binding_2d77a6f469534fe8ae41b6bb9c1561b5);
            Border_20d9adcdf5c74d56aacd768851f0395b.SetBinding(global::System.Windows.Controls.Border.BorderThicknessProperty, Binding_401409c10d7a44d08f75e12adf5a1fec);
            ScrollViewer_75902183557049a3a0c20c1c02e344cf.SetBinding(global::System.Windows.FrameworkElement.MaxHeightProperty, Binding_3cf6d6b574d54c96b2f3afda89bfc3a5);

            templateInstance_82c2e68d6ef24c5e90d456a94e511620.TemplateContent = StackPanel_88ea3dbd18db4daf93783037aab66e3a;
            return(templateInstance_82c2e68d6ef24c5e90d456a94e511620);
        }
Example #4
0
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_f285ec007d6749e58d03a0ffe7f13fee(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_a842f28ff4464f0eb1bfd1953c493dcd = new global::System.Windows.TemplateInstance();

            templateInstance_a842f28ff4464f0eb1bfd1953c493dcd.TemplateOwner = templateOwner;
            var Border_21102c4e75c24d6abc620c79361ccf53           = new global::System.Windows.Controls.Border();
            var VisualStateGroup_55a3e723117b40b3b1477188904192d0 = new global::System.Windows.VisualStateGroup();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("CommonStates", VisualStateGroup_55a3e723117b40b3b1477188904192d0);
            VisualStateGroup_55a3e723117b40b3b1477188904192d0.Name = "CommonStates";
            var VisualState_fcaf408c1b0543e5b4658598b417e760 = new global::System.Windows.VisualState();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Normal", VisualState_fcaf408c1b0543e5b4658598b417e760);
            VisualState_fcaf408c1b0543e5b4658598b417e760.Name = "Normal";

            var VisualState_69e02d36ffaf4a12989af5a28e937ea3 = new global::System.Windows.VisualState();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Disabled", VisualState_69e02d36ffaf4a12989af5a28e937ea3);
            VisualState_69e02d36ffaf4a12989af5a28e937ea3.Name = "Disabled";

            VisualStateGroup_55a3e723117b40b3b1477188904192d0.States.Add(VisualState_fcaf408c1b0543e5b4658598b417e760);
            VisualStateGroup_55a3e723117b40b3b1477188904192d0.States.Add(VisualState_69e02d36ffaf4a12989af5a28e937ea3);


            ((global::System.Windows.Controls.Control)templateOwner).INTERNAL_GetVisualStateGroups().Add(VisualStateGroup_55a3e723117b40b3b1477188904192d0);

            var Grid_665e7e4dada840ed9e6a2276d3fb278f = new global::System.Windows.Controls.Grid();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("TemplateTop", Grid_665e7e4dada840ed9e6a2276d3fb278f);
            Grid_665e7e4dada840ed9e6a2276d3fb278f.Name       = "TemplateTop";
            Grid_665e7e4dada840ed9e6a2276d3fb278f.Visibility = global::System.Windows.Visibility.Collapsed;
            var RowDefinition_59ecc101a2ab48b09caa081498c14023 = new global::System.Windows.Controls.RowDefinition();

            RowDefinition_59ecc101a2ab48b09caa081498c14023.Height = (global::System.Windows.GridLength)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.GridLength), @"Auto");

            var RowDefinition_21f1184c4924495da23fc0f4175ca1dd = new global::System.Windows.Controls.RowDefinition();

            RowDefinition_21f1184c4924495da23fc0f4175ca1dd.Height = (global::System.Windows.GridLength)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.GridLength), @"*");

            Grid_665e7e4dada840ed9e6a2276d3fb278f.RowDefinitions.Add(RowDefinition_59ecc101a2ab48b09caa081498c14023);
            Grid_665e7e4dada840ed9e6a2276d3fb278f.RowDefinitions.Add(RowDefinition_21f1184c4924495da23fc0f4175ca1dd);

            var TabPanel_c142a0c1693848da815d48b249fdf8a9 = new global::System.Windows.Controls.TabPanel();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("TabPanelTop", TabPanel_c142a0c1693848da815d48b249fdf8a9);
            TabPanel_c142a0c1693848da815d48b249fdf8a9.Name = "TabPanelTop";

            var Border_cfde29ecceb9463c8000dea4033be743 = new global::System.Windows.Controls.Border();

            global::System.Windows.Controls.Grid.SetRow(Border_cfde29ecceb9463c8000dea4033be743, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"1"));
            Border_cfde29ecceb9463c8000dea4033be743.CornerRadius = (global::System.Windows.CornerRadius)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.CornerRadius), @"0,0,3,3");
            var ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda = new global::System.Windows.Controls.ContentPresenter();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("ContentTop", ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda);
            ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda.Name = "ContentTop";
            var Binding_d31bcf6b622d4225a726313d3fe90350 = new global::System.Windows.Data.Binding();

            Binding_d31bcf6b622d4225a726313d3fe90350.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"HorizontalContentAlignment");
            var RelativeSource_3049e3094ace4de58868dd822866a0fd = new global::System.Windows.Data.RelativeSource();

            RelativeSource_3049e3094ace4de58868dd822866a0fd.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_d31bcf6b622d4225a726313d3fe90350.RelativeSource = RelativeSource_3049e3094ace4de58868dd822866a0fd;


            Binding_d31bcf6b622d4225a726313d3fe90350.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

            var Binding_de961e366f3048939400ea056dd906cd = new global::System.Windows.Data.Binding();

            Binding_de961e366f3048939400ea056dd906cd.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"VerticalContentAlignment");
            var RelativeSource_0c2898b35d9443e88740a57b382120b1 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_0c2898b35d9443e88740a57b382120b1.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_de961e366f3048939400ea056dd906cd.RelativeSource = RelativeSource_0c2898b35d9443e88740a57b382120b1;


            Binding_de961e366f3048939400ea056dd906cd.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

            var Binding_0a124b01975849dd9ec0b043c8318fe9 = new global::System.Windows.Data.Binding();

            Binding_0a124b01975849dd9ec0b043c8318fe9.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Content");
            var RelativeSource_51876b7b25624c309cabfb5220566948 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_51876b7b25624c309cabfb5220566948.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_0a124b01975849dd9ec0b043c8318fe9.RelativeSource = RelativeSource_51876b7b25624c309cabfb5220566948;


            Binding_0a124b01975849dd9ec0b043c8318fe9.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

            var Binding_07230075d28a4484b3faef8f63c5d361 = new global::System.Windows.Data.Binding();

            Binding_07230075d28a4484b3faef8f63c5d361.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"ContentTemplate");
            var RelativeSource_c58f2fc6fe504647bd1ad103281ff5e7 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_c58f2fc6fe504647bd1ad103281ff5e7.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_07230075d28a4484b3faef8f63c5d361.RelativeSource = RelativeSource_c58f2fc6fe504647bd1ad103281ff5e7;


            Binding_07230075d28a4484b3faef8f63c5d361.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;


            Border_cfde29ecceb9463c8000dea4033be743.Child = ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda;

            var Binding_0030e8e2311f4894957c0180df81c8d8 = new global::System.Windows.Data.Binding();

            Binding_0030e8e2311f4894957c0180df81c8d8.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"BorderBrush");
            var RelativeSource_f04bb15302544998a038b6fb975d54b4 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_f04bb15302544998a038b6fb975d54b4.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_0030e8e2311f4894957c0180df81c8d8.RelativeSource = RelativeSource_f04bb15302544998a038b6fb975d54b4;


            Binding_0030e8e2311f4894957c0180df81c8d8.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

            var Binding_c1899564200646b2ae83c187467331b7 = new global::System.Windows.Data.Binding();

            Binding_c1899564200646b2ae83c187467331b7.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"BorderThickness");
            var RelativeSource_63d2098a8eef4feeaf2baede8dcc2502 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_63d2098a8eef4feeaf2baede8dcc2502.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_c1899564200646b2ae83c187467331b7.RelativeSource = RelativeSource_63d2098a8eef4feeaf2baede8dcc2502;


            Binding_c1899564200646b2ae83c187467331b7.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

            var Binding_707407ed2f16447c855170762e2dadc5 = new global::System.Windows.Data.Binding();

            Binding_707407ed2f16447c855170762e2dadc5.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Background");
            var RelativeSource_a3955f5e1eec458dbce39df5b9e3e8fa = new global::System.Windows.Data.RelativeSource();

            RelativeSource_a3955f5e1eec458dbce39df5b9e3e8fa.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_707407ed2f16447c855170762e2dadc5.RelativeSource = RelativeSource_a3955f5e1eec458dbce39df5b9e3e8fa;


            Binding_707407ed2f16447c855170762e2dadc5.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;


            Grid_665e7e4dada840ed9e6a2276d3fb278f.Children.Add(TabPanel_c142a0c1693848da815d48b249fdf8a9);
            Grid_665e7e4dada840ed9e6a2276d3fb278f.Children.Add(Border_cfde29ecceb9463c8000dea4033be743);


            Border_21102c4e75c24d6abc620c79361ccf53.Child = Grid_665e7e4dada840ed9e6a2276d3fb278f;



            ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda.SetBinding(global::System.Windows.FrameworkElement.HorizontalAlignmentProperty, Binding_d31bcf6b622d4225a726313d3fe90350);
            ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda.SetBinding(global::System.Windows.FrameworkElement.VerticalAlignmentProperty, Binding_de961e366f3048939400ea056dd906cd);
            ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda.SetBinding(global::System.Windows.Controls.ContentPresenter.ContentProperty, Binding_0a124b01975849dd9ec0b043c8318fe9);
            ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda.SetBinding(global::System.Windows.Controls.ContentPresenter.ContentTemplateProperty, Binding_07230075d28a4484b3faef8f63c5d361);
            Border_cfde29ecceb9463c8000dea4033be743.SetBinding(global::System.Windows.Controls.Border.BorderBrushProperty, Binding_0030e8e2311f4894957c0180df81c8d8);
            Border_cfde29ecceb9463c8000dea4033be743.SetBinding(global::System.Windows.Controls.Border.BorderThicknessProperty, Binding_c1899564200646b2ae83c187467331b7);
            Border_cfde29ecceb9463c8000dea4033be743.SetBinding(global::System.Windows.Controls.Border.BackgroundProperty, Binding_707407ed2f16447c855170762e2dadc5);

            templateInstance_a842f28ff4464f0eb1bfd1953c493dcd.TemplateContent = Border_21102c4e75c24d6abc620c79361ccf53;
            return(templateInstance_a842f28ff4464f0eb1bfd1953c493dcd);
        }
Example #5
0
        static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_6c4d02d4d9bb4705910552a5e82ba6db(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_afd8731f84664ee7869ebc710198bc74 = new global::System.Windows.TemplateInstance();

            templateInstance_afd8731f84664ee7869ebc710198bc74.TemplateOwner = templateOwner;
            var Canvas_76c5efc7e54f42a2a1f979bea34a10d4 = new global::System.Windows.Controls.Canvas();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("RootCanvas", Canvas_76c5efc7e54f42a2a1f979bea34a10d4);
            Canvas_76c5efc7e54f42a2a1f979bea34a10d4.Name = "RootCanvas";
            var ContentPresenter_c1bbf47361e14d578e96c403ddd418d7 = new global::System.Windows.Controls.ContentPresenter();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Child", ContentPresenter_c1bbf47361e14d578e96c403ddd418d7);
            ContentPresenter_c1bbf47361e14d578e96c403ddd418d7.Name = "Child";
            var Binding_83a79b3ac6c5403db946e5064b89949f = new global::System.Windows.Data.Binding();

            Binding_83a79b3ac6c5403db946e5064b89949f.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"HorizontalAlignment");
            var RelativeSource_78808037afca4f5d89ce2dde90bdbcab = new global::System.Windows.Data.RelativeSource();

            RelativeSource_78808037afca4f5d89ce2dde90bdbcab.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_83a79b3ac6c5403db946e5064b89949f.RelativeSource = RelativeSource_78808037afca4f5d89ce2dde90bdbcab;


            Binding_83a79b3ac6c5403db946e5064b89949f.TemplateOwner = templateInstance_afd8731f84664ee7869ebc710198bc74;

            var Binding_bb8c0ddfc42943ba957c53cbf26cc253 = new global::System.Windows.Data.Binding();

            Binding_bb8c0ddfc42943ba957c53cbf26cc253.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"VerticalAlignment");
            var RelativeSource_1b354f2ee5964974a02f31f8fb2a400f = new global::System.Windows.Data.RelativeSource();

            RelativeSource_1b354f2ee5964974a02f31f8fb2a400f.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_bb8c0ddfc42943ba957c53cbf26cc253.RelativeSource = RelativeSource_1b354f2ee5964974a02f31f8fb2a400f;


            Binding_bb8c0ddfc42943ba957c53cbf26cc253.TemplateOwner = templateInstance_afd8731f84664ee7869ebc710198bc74;

            var Binding_13f023d0b6e44028b00b8e56eea426ac = new global::System.Windows.Data.Binding();

            Binding_13f023d0b6e44028b00b8e56eea426ac.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Content");
            var RelativeSource_4e1197bcef9f459ead5c4023f0241ee9 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_4e1197bcef9f459ead5c4023f0241ee9.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_13f023d0b6e44028b00b8e56eea426ac.RelativeSource = RelativeSource_4e1197bcef9f459ead5c4023f0241ee9;


            Binding_13f023d0b6e44028b00b8e56eea426ac.TemplateOwner = templateInstance_afd8731f84664ee7869ebc710198bc74;

            var Binding_08887a59fd0c4eebb0ebd2de7562148e = new global::System.Windows.Data.Binding();

            Binding_08887a59fd0c4eebb0ebd2de7562148e.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"ContentTemplate");
            var RelativeSource_8c0de59bddcc4fff9eca8eaaec7e6891 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_8c0de59bddcc4fff9eca8eaaec7e6891.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_08887a59fd0c4eebb0ebd2de7562148e.RelativeSource = RelativeSource_8c0de59bddcc4fff9eca8eaaec7e6891;


            Binding_08887a59fd0c4eebb0ebd2de7562148e.TemplateOwner = templateInstance_afd8731f84664ee7869ebc710198bc74;


            Canvas_76c5efc7e54f42a2a1f979bea34a10d4.Children.Add(ContentPresenter_c1bbf47361e14d578e96c403ddd418d7);



            ContentPresenter_c1bbf47361e14d578e96c403ddd418d7.SetBinding(global::System.Windows.FrameworkElement.HorizontalAlignmentProperty, Binding_83a79b3ac6c5403db946e5064b89949f);
            ContentPresenter_c1bbf47361e14d578e96c403ddd418d7.SetBinding(global::System.Windows.FrameworkElement.VerticalAlignmentProperty, Binding_bb8c0ddfc42943ba957c53cbf26cc253);
            ContentPresenter_c1bbf47361e14d578e96c403ddd418d7.SetBinding(global::System.Windows.Controls.ContentControl.ContentProperty, Binding_13f023d0b6e44028b00b8e56eea426ac);
            ContentPresenter_c1bbf47361e14d578e96c403ddd418d7.SetBinding(global::System.Windows.Controls.ContentControl.ContentTemplateProperty, Binding_08887a59fd0c4eebb0ebd2de7562148e);

            templateInstance_afd8731f84664ee7869ebc710198bc74.TemplateContent = Canvas_76c5efc7e54f42a2a1f979bea34a10d4;
            return(templateInstance_afd8731f84664ee7869ebc710198bc74);
        }
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_16cc557f3d994fedb699a532399edd99(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_a0e8a84e8f9642d7af6474bc16917921 = new global::System.Windows.TemplateInstance();

            templateInstance_a0e8a84e8f9642d7af6474bc16917921.TemplateOwner = templateOwner;
            var Border_10e588adc34d463e88e9a24615356189 = new global::System.Windows.Controls.Border();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("OuterBorder", Border_10e588adc34d463e88e9a24615356189);
            Border_10e588adc34d463e88e9a24615356189.Name = "OuterBorder";
            var VisualStateGroup_3fba7c45fabe4f1cbfcc7ae7c4821711 = new global::System.Windows.VisualStateGroup();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("CommonStates", VisualStateGroup_3fba7c45fabe4f1cbfcc7ae7c4821711);
            VisualStateGroup_3fba7c45fabe4f1cbfcc7ae7c4821711.Name = "CommonStates";
            var VisualState_6188c6a6110a4a3aac0f336a84ac4c47 = new global::System.Windows.VisualState();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Normal", VisualState_6188c6a6110a4a3aac0f336a84ac4c47);
            VisualState_6188c6a6110a4a3aac0f336a84ac4c47.Name = "Normal";

            var VisualState_6efcc0ae9ec6490daeeecb7447ebe26c = new global::System.Windows.VisualState();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("MouseOver", VisualState_6efcc0ae9ec6490daeeecb7447ebe26c);
            VisualState_6efcc0ae9ec6490daeeecb7447ebe26c.Name = "MouseOver";
            var Storyboard_1129b222f91a4e0384851fd5d69daba7 = new global::System.Windows.Media.Animation.Storyboard();
            var ObjectAnimationUsingKeyFrames_e1dac6177a8a47deab31a1ce5b746eeb = new global::System.Windows.Media.Animation.ObjectAnimationUsingKeyFrames();

            global::System.Windows.Media.Animation.Storyboard.SetTargetName(ObjectAnimationUsingKeyFrames_e1dac6177a8a47deab31a1ce5b746eeb, @"ContentPresenter");
            var DiscreteObjectKeyFrame_cf2dd01ca8964e7b9a9b6e69a46a84bf = new global::System.Windows.Media.Animation.DiscreteObjectKeyFrame();

            DiscreteObjectKeyFrame_cf2dd01ca8964e7b9a9b6e69a46a84bf.KeyTime = (global::System.Windows.Media.Animation.KeyTime)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Media.Animation.KeyTime), @"0");
            DiscreteObjectKeyFrame_cf2dd01ca8964e7b9a9b6e69a46a84bf.Value   = (global::System.Object)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Object), @"Bold");

            ObjectAnimationUsingKeyFrames_e1dac6177a8a47deab31a1ce5b746eeb.KeyFrames.Add(DiscreteObjectKeyFrame_cf2dd01ca8964e7b9a9b6e69a46a84bf);


            Storyboard_1129b222f91a4e0384851fd5d69daba7.Children.Add(ObjectAnimationUsingKeyFrames_e1dac6177a8a47deab31a1ce5b746eeb);


            VisualState_6efcc0ae9ec6490daeeecb7447ebe26c.Storyboard = Storyboard_1129b222f91a4e0384851fd5d69daba7;


            VisualStateGroup_3fba7c45fabe4f1cbfcc7ae7c4821711.States.Add(VisualState_6188c6a6110a4a3aac0f336a84ac4c47);
            VisualStateGroup_3fba7c45fabe4f1cbfcc7ae7c4821711.States.Add(VisualState_6efcc0ae9ec6490daeeecb7447ebe26c);


            ((global::System.Windows.Controls.Control)templateOwner).INTERNAL_GetVisualStateGroups().Add(VisualStateGroup_3fba7c45fabe4f1cbfcc7ae7c4821711);

            var ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967 = new global::System.Windows.Controls.ContentPresenter();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("ContentPresenter", ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967);
            ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967.Name = "ContentPresenter";
            var Binding_6bb8bbac5ac54b81b16b9be917227385 = new global::System.Windows.Data.Binding();

            Binding_6bb8bbac5ac54b81b16b9be917227385.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"ContentTemplate");
            var RelativeSource_47b31b183d8e47adb9a35a388f07fabd = new global::System.Windows.Data.RelativeSource();

            RelativeSource_47b31b183d8e47adb9a35a388f07fabd.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_6bb8bbac5ac54b81b16b9be917227385.RelativeSource = RelativeSource_47b31b183d8e47adb9a35a388f07fabd;


            Binding_6bb8bbac5ac54b81b16b9be917227385.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

            var Binding_8a75d1571a8244bd8e95461db8849c48 = new global::System.Windows.Data.Binding();

            Binding_8a75d1571a8244bd8e95461db8849c48.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Content");
            var RelativeSource_ade8eedcfb864b2cbbb8e9fb28faa8bd = new global::System.Windows.Data.RelativeSource();

            RelativeSource_ade8eedcfb864b2cbbb8e9fb28faa8bd.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_8a75d1571a8244bd8e95461db8849c48.RelativeSource = RelativeSource_ade8eedcfb864b2cbbb8e9fb28faa8bd;


            Binding_8a75d1571a8244bd8e95461db8849c48.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

            var Binding_8828adb43bc24f55ad49006edbc12c11 = new global::System.Windows.Data.Binding();

            Binding_8828adb43bc24f55ad49006edbc12c11.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Padding");
            var RelativeSource_e1a5e52a532c46eb9bcf33a7178b2496 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_e1a5e52a532c46eb9bcf33a7178b2496.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_8828adb43bc24f55ad49006edbc12c11.RelativeSource = RelativeSource_e1a5e52a532c46eb9bcf33a7178b2496;


            Binding_8828adb43bc24f55ad49006edbc12c11.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

            var Binding_972ec641775546f8a5b27154d8558633 = new global::System.Windows.Data.Binding();

            Binding_972ec641775546f8a5b27154d8558633.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"HorizontalContentAlignment");
            var RelativeSource_7fe48b98bbff4030a9961fb8f09d0f86 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_7fe48b98bbff4030a9961fb8f09d0f86.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_972ec641775546f8a5b27154d8558633.RelativeSource = RelativeSource_7fe48b98bbff4030a9961fb8f09d0f86;


            Binding_972ec641775546f8a5b27154d8558633.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

            var Binding_9482972fee474aa0a8ea57a49beb12a8 = new global::System.Windows.Data.Binding();

            Binding_9482972fee474aa0a8ea57a49beb12a8.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"VerticalContentAlignment");
            var RelativeSource_59cb809f461141dc985482166ed8a44b = new global::System.Windows.Data.RelativeSource();

            RelativeSource_59cb809f461141dc985482166ed8a44b.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_9482972fee474aa0a8ea57a49beb12a8.RelativeSource = RelativeSource_59cb809f461141dc985482166ed8a44b;


            Binding_9482972fee474aa0a8ea57a49beb12a8.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;


            Border_10e588adc34d463e88e9a24615356189.Child = ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967;

            var Binding_fe79b24b7748493b9b2c7dcacb549a90 = new global::System.Windows.Data.Binding();

            Binding_fe79b24b7748493b9b2c7dcacb549a90.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Background");
            var RelativeSource_82fa26a5a8b4435baf362e14d938d7b5 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_82fa26a5a8b4435baf362e14d938d7b5.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_fe79b24b7748493b9b2c7dcacb549a90.RelativeSource = RelativeSource_82fa26a5a8b4435baf362e14d938d7b5;


            Binding_fe79b24b7748493b9b2c7dcacb549a90.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

            var Binding_9573cfa6a53c445a9951bdfca936beb2 = new global::System.Windows.Data.Binding();

            Binding_9573cfa6a53c445a9951bdfca936beb2.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"BorderBrush");
            var RelativeSource_0319c934045b4528bc539bd320506136 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_0319c934045b4528bc539bd320506136.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_9573cfa6a53c445a9951bdfca936beb2.RelativeSource = RelativeSource_0319c934045b4528bc539bd320506136;


            Binding_9573cfa6a53c445a9951bdfca936beb2.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

            var Binding_4acf08365a8c4e62870ca62f77e9b8df = new global::System.Windows.Data.Binding();

            Binding_4acf08365a8c4e62870ca62f77e9b8df.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"BorderThickness");
            var RelativeSource_327d9513ca4a484e8bde58261850d555 = new global::System.Windows.Data.RelativeSource();

            RelativeSource_327d9513ca4a484e8bde58261850d555.Mode = global::System.Windows.Data.RelativeSourceMode.TemplatedParent;

            Binding_4acf08365a8c4e62870ca62f77e9b8df.RelativeSource = RelativeSource_327d9513ca4a484e8bde58261850d555;


            Binding_4acf08365a8c4e62870ca62f77e9b8df.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;



            ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967.SetBinding(global::System.Windows.Controls.ContentControl.ContentTemplateProperty, Binding_6bb8bbac5ac54b81b16b9be917227385);
            ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967.SetBinding(global::System.Windows.Controls.ContentControl.ContentProperty, Binding_8a75d1571a8244bd8e95461db8849c48);
            ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967.SetBinding(global::System.Windows.FrameworkElement.MarginProperty, Binding_8828adb43bc24f55ad49006edbc12c11);
            ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967.SetBinding(global::System.Windows.FrameworkElement.HorizontalAlignmentProperty, Binding_972ec641775546f8a5b27154d8558633);
            ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967.SetBinding(global::System.Windows.FrameworkElement.VerticalAlignmentProperty, Binding_9482972fee474aa0a8ea57a49beb12a8);
            Border_10e588adc34d463e88e9a24615356189.SetBinding(global::System.Windows.Controls.Border.BackgroundProperty, Binding_fe79b24b7748493b9b2c7dcacb549a90);
            Border_10e588adc34d463e88e9a24615356189.SetBinding(global::System.Windows.Controls.Border.BorderBrushProperty, Binding_9573cfa6a53c445a9951bdfca936beb2);
            Border_10e588adc34d463e88e9a24615356189.SetBinding(global::System.Windows.Controls.Border.BorderThicknessProperty, Binding_4acf08365a8c4e62870ca62f77e9b8df);

            global::System.Windows.Media.Animation.Storyboard.SetTargetProperty(ObjectAnimationUsingKeyFrames_e1dac6177a8a47deab31a1ce5b746eeb,
                                                                                new global::System.Windows.PropertyPath(
                                                                                    "FontWeight",
                                                                                    "FontWeight",
                                                                                    accessVisualStateProperty_50aaaf9819334ab9a5e132c1f664445d,
                                                                                    setVisualStateProperty_50aaaf9819334ab9a5e132c1f664445d,
                                                                                    setLocalVisualStateProperty_50aaaf9819334ab9a5e132c1f664445d,
                                                                                    getVisualStateProperty_50aaaf9819334ab9a5e132c1f664445d));
            global::System.Windows.Media.Animation.Storyboard.SetTarget(ObjectAnimationUsingKeyFrames_e1dac6177a8a47deab31a1ce5b746eeb, ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967);

            templateInstance_a0e8a84e8f9642d7af6474bc16917921.TemplateContent = Border_10e588adc34d463e88e9a24615356189;
            return(templateInstance_a0e8a84e8f9642d7af6474bc16917921);
        }