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

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

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

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

            RelativeSource_ddb054a750774fc8894df6f9e387aa1d.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_146cea452c694e0395995cb1eff9ba1b.RelativeSource = RelativeSource_ddb054a750774fc8894df6f9e387aa1d;


            Binding_146cea452c694e0395995cb1eff9ba1b.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

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

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

            RelativeSource_00489e5430aa4d0bbbb386e2a4cb4c5e.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_12d5b1fbd02a4c389bcd75c152fc8bcd.RelativeSource = RelativeSource_00489e5430aa4d0bbbb386e2a4cb4c5e;


            Binding_12d5b1fbd02a4c389bcd75c152fc8bcd.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

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

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

            RelativeSource_17d7ca33dc184472a36858c8f05cb252.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_f6856b00b01c4949adbfa7d7eb138047.RelativeSource = RelativeSource_17d7ca33dc184472a36858c8f05cb252;


            Binding_f6856b00b01c4949adbfa7d7eb138047.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;


            Border_b17e5b1f5958447d9318cc54f3d93c32.Child = ContentPresenter_abfcda7e9f35491690b9dde27cf9582f;

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

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

            RelativeSource_94f8889d9e204045b3de694995f8b982.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_f7a1c9bac29c44d19f7197cce7d417d3.RelativeSource = RelativeSource_94f8889d9e204045b3de694995f8b982;


            Binding_f7a1c9bac29c44d19f7197cce7d417d3.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

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

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

            RelativeSource_768beddafb544b6b977e5cf5e1647722.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_c8aa62ed456b4ae2b9b438f92ed9acce.RelativeSource = RelativeSource_768beddafb544b6b977e5cf5e1647722;


            Binding_c8aa62ed456b4ae2b9b438f92ed9acce.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

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

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

            RelativeSource_b4771e62d8674080ac7d40b42b921d07.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_82f75b1847c54527a5eaa8d0cc4da36d.RelativeSource = RelativeSource_b4771e62d8674080ac7d40b42b921d07;


            Binding_82f75b1847c54527a5eaa8d0cc4da36d.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;



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

            templateInstance_b3ca292c907742a284e8481793a4dd0c.TemplateContent = Border_b17e5b1f5958447d9318cc54f3d93c32;
            return(templateInstance_b3ca292c907742a284e8481793a4dd0c);
        }
        private static global::Windows.UI.Xaml.TemplateInstance Instantiate_ControlTemplate_d2528842177b4d42b5fa6765e0841e5e(global::Windows.UI.Xaml.FrameworkElement templateOwner)
        {
            var templateInstance_82c2e68d6ef24c5e90d456a94e511620 = new global::Windows.UI.Xaml.TemplateInstance();

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

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

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

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

            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("arrow", Path_970e4c9c536441aaa2b7cec321ab8522);
            Path_970e4c9c536441aaa2b7cec321ab8522.Name                = "arrow";
            Path_970e4c9c536441aaa2b7cec321ab8522.Visibility          = global::Windows.UI.Xaml.Visibility.Visible;
            Path_970e4c9c536441aaa2b7cec321ab8522.Stroke              = (global::Windows.UI.Xaml.Media.Brush)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.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::Windows.UI.Xaml.HorizontalAlignment.Center;
            Path_970e4c9c536441aaa2b7cec321ab8522.VerticalAlignment   = global::Windows.UI.Xaml.VerticalAlignment.Center;
            Path_970e4c9c536441aaa2b7cec321ab8522.Stretch             = global::Windows.UI.Xaml.Media.Stretch.None;
            Path_970e4c9c536441aaa2b7cec321ab8522.Data                = (global::Windows.UI.Xaml.Media.Geometry)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.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::Windows.UI.Xaml.Controls.ContentPresenter();

            ((global::Windows.UI.Xaml.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::Windows.UI.Xaml.Data.Binding();

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

            RelativeSource_07f3d5f00ac24ae69b89f38d0c235cde.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_33874615a15f4f4a8e7a1b323f027661.RelativeSource = RelativeSource_07f3d5f00ac24ae69b89f38d0c235cde;


            Binding_33874615a15f4f4a8e7a1b323f027661.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

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

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

            RelativeSource_e76ae58c16854addaddd66c7a1c7c2f1.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_7636a81645ff4681b77f33c835487470.RelativeSource = RelativeSource_e76ae58c16854addaddd66c7a1c7c2f1;


            Binding_7636a81645ff4681b77f33c835487470.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

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

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

            RelativeSource_0cf506501910429a8f6910618ca3a865.Mode = global::Windows.UI.Xaml.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::Windows.UI.Xaml.Data.Binding();

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

            RelativeSource_4201ad0529f54230bb21db229f3bef75.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_6ba1ab7c5d3b4b12902abe26bb950e80.RelativeSource = RelativeSource_4201ad0529f54230bb21db229f3bef75;


            Binding_6ba1ab7c5d3b4b12902abe26bb950e80.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

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

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

            RelativeSource_6c5f4f40220a4b309bdd18fc28fc3f1a.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_2d77a6f469534fe8ae41b6bb9c1561b5.RelativeSource = RelativeSource_6c5f4f40220a4b309bdd18fc28fc3f1a;


            Binding_2d77a6f469534fe8ae41b6bb9c1561b5.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

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

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

            RelativeSource_9455df17ab39482e83977458c783f35f.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_401409c10d7a44d08f75e12adf5a1fec.RelativeSource = RelativeSource_9455df17ab39482e83977458c783f35f;


            Binding_401409c10d7a44d08f75e12adf5a1fec.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;


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

            ((global::Windows.UI.Xaml.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::Windows.UI.Xaml.Controls.Border();

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

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

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

            ScrollViewer_75902183557049a3a0c20c1c02e344cf.Content = ItemsPresenter_3395888e6b3247d79b98cf06e33db542;

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

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

            RelativeSource_e259ece9a2184ea5ae4f20c97a5eb0ff.Mode = global::Windows.UI.Xaml.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::Windows.UI.Xaml.FrameworkElement.MarginProperty, Binding_33874615a15f4f4a8e7a1b323f027661);
            ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c.SetBinding(global::Windows.UI.Xaml.Controls.ContentControl.ContentProperty, Binding_7636a81645ff4681b77f33c835487470);
            ContentPresenter_9f86971e1dae47bc8ea39916b2b4fc4c.SetBinding(global::Windows.UI.Xaml.Controls.ContentControl.ContentTemplateProperty, Binding_5ac07c7327b640cc8f4d86a5562f82b1);
            Border_20d9adcdf5c74d56aacd768851f0395b.SetBinding(global::Windows.UI.Xaml.Controls.Border.BackgroundProperty, Binding_6ba1ab7c5d3b4b12902abe26bb950e80);
            Border_20d9adcdf5c74d56aacd768851f0395b.SetBinding(global::Windows.UI.Xaml.Controls.Border.BorderBrushProperty, Binding_2d77a6f469534fe8ae41b6bb9c1561b5);
            Border_20d9adcdf5c74d56aacd768851f0395b.SetBinding(global::Windows.UI.Xaml.Controls.Border.BorderThicknessProperty, Binding_401409c10d7a44d08f75e12adf5a1fec);
            ScrollViewer_75902183557049a3a0c20c1c02e344cf.SetBinding(global::Windows.UI.Xaml.FrameworkElement.MaxHeightProperty, Binding_3cf6d6b574d54c96b2f3afda89bfc3a5);

            templateInstance_82c2e68d6ef24c5e90d456a94e511620.TemplateContent = StackPanel_88ea3dbd18db4daf93783037aab66e3a;
            return(templateInstance_82c2e68d6ef24c5e90d456a94e511620);
        }
示例#3
0
        private static global::Windows.UI.Xaml.TemplateInstance Instantiate_ControlTemplate_f285ec007d6749e58d03a0ffe7f13fee(global::Windows.UI.Xaml.FrameworkElement templateOwner)
        {
            var templateInstance_a842f28ff4464f0eb1bfd1953c493dcd = new global::Windows.UI.Xaml.TemplateInstance();

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

            RelativeSource_3049e3094ace4de58868dd822866a0fd.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_d31bcf6b622d4225a726313d3fe90350.RelativeSource = RelativeSource_3049e3094ace4de58868dd822866a0fd;


            Binding_d31bcf6b622d4225a726313d3fe90350.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

            RelativeSource_0c2898b35d9443e88740a57b382120b1.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_de961e366f3048939400ea056dd906cd.RelativeSource = RelativeSource_0c2898b35d9443e88740a57b382120b1;


            Binding_de961e366f3048939400ea056dd906cd.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

            RelativeSource_51876b7b25624c309cabfb5220566948.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_0a124b01975849dd9ec0b043c8318fe9.RelativeSource = RelativeSource_51876b7b25624c309cabfb5220566948;


            Binding_0a124b01975849dd9ec0b043c8318fe9.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

            RelativeSource_c58f2fc6fe504647bd1ad103281ff5e7.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_07230075d28a4484b3faef8f63c5d361.RelativeSource = RelativeSource_c58f2fc6fe504647bd1ad103281ff5e7;


            Binding_07230075d28a4484b3faef8f63c5d361.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;


            Border_cfde29ecceb9463c8000dea4033be743.Child = ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda;

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

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

            RelativeSource_f04bb15302544998a038b6fb975d54b4.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_0030e8e2311f4894957c0180df81c8d8.RelativeSource = RelativeSource_f04bb15302544998a038b6fb975d54b4;


            Binding_0030e8e2311f4894957c0180df81c8d8.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

            RelativeSource_63d2098a8eef4feeaf2baede8dcc2502.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_c1899564200646b2ae83c187467331b7.RelativeSource = RelativeSource_63d2098a8eef4feeaf2baede8dcc2502;


            Binding_c1899564200646b2ae83c187467331b7.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

            RelativeSource_a3955f5e1eec458dbce39df5b9e3e8fa.Mode = global::Windows.UI.Xaml.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::Windows.UI.Xaml.FrameworkElement.HorizontalAlignmentProperty, Binding_d31bcf6b622d4225a726313d3fe90350);
            ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda.SetBinding(global::Windows.UI.Xaml.FrameworkElement.VerticalAlignmentProperty, Binding_de961e366f3048939400ea056dd906cd);
            ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda.SetBinding(global::Windows.UI.Xaml.Controls.ContentPresenter.ContentProperty, Binding_0a124b01975849dd9ec0b043c8318fe9);
            ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda.SetBinding(global::Windows.UI.Xaml.Controls.ContentPresenter.ContentTemplateProperty, Binding_07230075d28a4484b3faef8f63c5d361);
            Border_cfde29ecceb9463c8000dea4033be743.SetBinding(global::Windows.UI.Xaml.Controls.Border.BorderBrushProperty, Binding_0030e8e2311f4894957c0180df81c8d8);
            Border_cfde29ecceb9463c8000dea4033be743.SetBinding(global::Windows.UI.Xaml.Controls.Border.BorderThicknessProperty, Binding_c1899564200646b2ae83c187467331b7);
            Border_cfde29ecceb9463c8000dea4033be743.SetBinding(global::Windows.UI.Xaml.Controls.Border.BackgroundProperty, Binding_707407ed2f16447c855170762e2dadc5);

            templateInstance_a842f28ff4464f0eb1bfd1953c493dcd.TemplateContent = Border_21102c4e75c24d6abc620c79361ccf53;
            return(templateInstance_a842f28ff4464f0eb1bfd1953c493dcd);
        }
示例#4
0
        static global::Windows.UI.Xaml.TemplateInstance Instantiate_ControlTemplate_955230d423104401a73819b07b3c50ba(global::Windows.UI.Xaml.FrameworkElement templateOwner)
        {
            var templateInstance_68d80f27031e4ed6aaed255212d7f79e = new global::Windows.UI.Xaml.TemplateInstance();

            templateInstance_68d80f27031e4ed6aaed255212d7f79e.TemplateOwner = templateOwner;
            var Border_cf3ab70b1fc34acc8131c5bc5ce5cef8 = new global::Windows.UI.Xaml.Controls.Border();

            Border_cf3ab70b1fc34acc8131c5bc5ce5cef8.VerticalAlignment = global::Windows.UI.Xaml.VerticalAlignment.Top;
            var Grid_7d29615f184042acac6b3036319bc19c             = new global::Windows.UI.Xaml.Controls.Grid();
            var ColumnDefinition_d8fd457f39254c1ba422ede05740b2b3 = new global::Windows.UI.Xaml.Controls.ColumnDefinition();

            var ColumnDefinition_848f59343d934ff999f2cb691df6f9c1 = new global::Windows.UI.Xaml.Controls.ColumnDefinition();

            ColumnDefinition_848f59343d934ff999f2cb691df6f9c1.Width = (global::Windows.UI.Xaml.GridLength)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.GridLength), @"Auto");

            var ColumnDefinition_87a32d2ee21b45d2a4566748e7a995ab = new global::Windows.UI.Xaml.Controls.ColumnDefinition();

            ColumnDefinition_87a32d2ee21b45d2a4566748e7a995ab.Width = (global::Windows.UI.Xaml.GridLength)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.GridLength), @"Auto");

            Grid_7d29615f184042acac6b3036319bc19c.ColumnDefinitions.Add(ColumnDefinition_d8fd457f39254c1ba422ede05740b2b3);
            Grid_7d29615f184042acac6b3036319bc19c.ColumnDefinitions.Add(ColumnDefinition_848f59343d934ff999f2cb691df6f9c1);
            Grid_7d29615f184042acac6b3036319bc19c.ColumnDefinitions.Add(ColumnDefinition_87a32d2ee21b45d2a4566748e7a995ab);

            var Grid_eec27f24f79c402082f984059523461b = new global::Windows.UI.Xaml.Controls.Grid();

            global::Windows.UI.Xaml.Controls.Grid.SetColumn(Grid_eec27f24f79c402082f984059523461b, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"0"));
            var Rectangle_05c2bbd0edb34cf298bfa53827030826 = new global::Windows.UI.Xaml.Shapes.Rectangle();

            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("PART_ValueBar", Rectangle_05c2bbd0edb34cf298bfa53827030826);
            Rectangle_05c2bbd0edb34cf298bfa53827030826.Name             = "PART_ValueBar";
            Rectangle_05c2bbd0edb34cf298bfa53827030826.IsHitTestVisible = (global::System.Boolean)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Boolean), @"False");
            Rectangle_05c2bbd0edb34cf298bfa53827030826.Fill             = (global::Windows.UI.Xaml.Media.Brush)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.Media.Brush), @"#FFFFFFFF");

            var UpDownTextBox_cc8ef7e728054a9583597c184b24380f = new global::Windows.UI.Xaml.Controls.Primitives.UpDownTextBox();

            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("PART_ValueTextBox", UpDownTextBox_cc8ef7e728054a9583597c184b24380f);
            UpDownTextBox_cc8ef7e728054a9583597c184b24380f.Name = "PART_ValueTextBox";
            UpDownTextBox_cc8ef7e728054a9583597c184b24380f.HorizontalAlignment = global::Windows.UI.Xaml.HorizontalAlignment.Stretch;
            var Binding_73b75de7ad0341d38883fc34e8e8403c = new global::Windows.UI.Xaml.Data.Binding();

            Binding_73b75de7ad0341d38883fc34e8e8403c.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"FontFamily");
            var RelativeSource_9725343727aa41d8b96833126c84ca00 = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_9725343727aa41d8b96833126c84ca00.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_73b75de7ad0341d38883fc34e8e8403c.RelativeSource = RelativeSource_9725343727aa41d8b96833126c84ca00;


            Binding_73b75de7ad0341d38883fc34e8e8403c.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;

            var Binding_58edf7e603de45479408b7528f708b7e = new global::Windows.UI.Xaml.Data.Binding();

            Binding_58edf7e603de45479408b7528f708b7e.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"FontSize");
            var RelativeSource_c64087ae46864b469b548a01d65a6a81 = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_c64087ae46864b469b548a01d65a6a81.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_58edf7e603de45479408b7528f708b7e.RelativeSource = RelativeSource_c64087ae46864b469b548a01d65a6a81;


            Binding_58edf7e603de45479408b7528f708b7e.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;

            var Binding_4c408bfb3b164c2cb946d3e08c4caa9d = new global::Windows.UI.Xaml.Data.Binding();

            Binding_4c408bfb3b164c2cb946d3e08c4caa9d.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"Foreground");
            var RelativeSource_84cea802454748beb50a780c193354fe = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_84cea802454748beb50a780c193354fe.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_4c408bfb3b164c2cb946d3e08c4caa9d.RelativeSource = RelativeSource_84cea802454748beb50a780c193354fe;


            Binding_4c408bfb3b164c2cb946d3e08c4caa9d.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;


            Grid_eec27f24f79c402082f984059523461b.Children.Add(Rectangle_05c2bbd0edb34cf298bfa53827030826);
            Grid_eec27f24f79c402082f984059523461b.Children.Add(UpDownTextBox_cc8ef7e728054a9583597c184b24380f);


            var RepeatButton_0e2351b63a0f457390eecdb05ce03a55 = new global::Windows.UI.Xaml.Controls.Primitives.RepeatButton();

            global::Windows.UI.Xaml.Controls.Grid.SetColumn(RepeatButton_0e2351b63a0f457390eecdb05ce03a55, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"1"));
            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("PART_DecrementButton", RepeatButton_0e2351b63a0f457390eecdb05ce03a55);
            RepeatButton_0e2351b63a0f457390eecdb05ce03a55.Name    = "PART_DecrementButton";
            RepeatButton_0e2351b63a0f457390eecdb05ce03a55.Margin  = (global::Windows.UI.Xaml.Thickness)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.Thickness), @"4,0,0,0");
            RepeatButton_0e2351b63a0f457390eecdb05ce03a55.Content = (global::System.Object)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Object), @"➖");

            var RepeatButton_18e85dba18194e44836515fd50abfc1b = new global::Windows.UI.Xaml.Controls.Primitives.RepeatButton();

            global::Windows.UI.Xaml.Controls.Grid.SetColumn(RepeatButton_18e85dba18194e44836515fd50abfc1b, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"2"));
            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("PART_IncrementButton", RepeatButton_18e85dba18194e44836515fd50abfc1b);
            RepeatButton_18e85dba18194e44836515fd50abfc1b.Name    = "PART_IncrementButton";
            RepeatButton_18e85dba18194e44836515fd50abfc1b.Margin  = (global::Windows.UI.Xaml.Thickness)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.Thickness), @"3,0,0,0");
            RepeatButton_18e85dba18194e44836515fd50abfc1b.Content = (global::System.Object)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Object), @"➕");

            Grid_7d29615f184042acac6b3036319bc19c.Children.Add(Grid_eec27f24f79c402082f984059523461b);
            Grid_7d29615f184042acac6b3036319bc19c.Children.Add(RepeatButton_0e2351b63a0f457390eecdb05ce03a55);
            Grid_7d29615f184042acac6b3036319bc19c.Children.Add(RepeatButton_18e85dba18194e44836515fd50abfc1b);


            Border_cf3ab70b1fc34acc8131c5bc5ce5cef8.Child = Grid_7d29615f184042acac6b3036319bc19c;

            var Binding_ea65ee99d4654121b2aff2d9b511688a = new global::Windows.UI.Xaml.Data.Binding();

            Binding_ea65ee99d4654121b2aff2d9b511688a.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"Background");
            var RelativeSource_d207b136a95a417fa4510f0ec5291512 = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_d207b136a95a417fa4510f0ec5291512.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_ea65ee99d4654121b2aff2d9b511688a.RelativeSource = RelativeSource_d207b136a95a417fa4510f0ec5291512;


            Binding_ea65ee99d4654121b2aff2d9b511688a.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;

            var Binding_e32828ec685846a8883905a81353b781 = new global::Windows.UI.Xaml.Data.Binding();

            Binding_e32828ec685846a8883905a81353b781.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"BorderBrush");
            var RelativeSource_5c4f7c024ad140a1980d06eb06db160d = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_5c4f7c024ad140a1980d06eb06db160d.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_e32828ec685846a8883905a81353b781.RelativeSource = RelativeSource_5c4f7c024ad140a1980d06eb06db160d;


            Binding_e32828ec685846a8883905a81353b781.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;

            var Binding_51730f076d984cb18192cce69cbe801e = new global::Windows.UI.Xaml.Data.Binding();

            Binding_51730f076d984cb18192cce69cbe801e.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"BorderThickness");
            var RelativeSource_b0b9ebdb74b5491892e6c9529964f430 = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_b0b9ebdb74b5491892e6c9529964f430.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_51730f076d984cb18192cce69cbe801e.RelativeSource = RelativeSource_b0b9ebdb74b5491892e6c9529964f430;


            Binding_51730f076d984cb18192cce69cbe801e.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;



            UpDownTextBox_cc8ef7e728054a9583597c184b24380f.SetBinding(global::Windows.UI.Xaml.Controls.Control.FontFamilyProperty, Binding_73b75de7ad0341d38883fc34e8e8403c);
            UpDownTextBox_cc8ef7e728054a9583597c184b24380f.SetBinding(global::Windows.UI.Xaml.Controls.Control.FontSizeProperty, Binding_58edf7e603de45479408b7528f708b7e);
            UpDownTextBox_cc8ef7e728054a9583597c184b24380f.SetBinding(global::Windows.UI.Xaml.Controls.Control.ForegroundProperty, Binding_4c408bfb3b164c2cb946d3e08c4caa9d);
            Border_cf3ab70b1fc34acc8131c5bc5ce5cef8.SetBinding(global::Windows.UI.Xaml.Controls.Border.BackgroundProperty, Binding_ea65ee99d4654121b2aff2d9b511688a);
            Border_cf3ab70b1fc34acc8131c5bc5ce5cef8.SetBinding(global::Windows.UI.Xaml.Controls.Border.BorderBrushProperty, Binding_e32828ec685846a8883905a81353b781);
            Border_cf3ab70b1fc34acc8131c5bc5ce5cef8.SetBinding(global::Windows.UI.Xaml.Controls.Border.BorderThicknessProperty, Binding_51730f076d984cb18192cce69cbe801e);

            templateInstance_68d80f27031e4ed6aaed255212d7f79e.TemplateContent = Border_cf3ab70b1fc34acc8131c5bc5ce5cef8;
            return(templateInstance_68d80f27031e4ed6aaed255212d7f79e);
        }
        private static global::Windows.UI.Xaml.TemplateInstance Instantiate_ControlTemplate_16cc557f3d994fedb699a532399edd99(global::Windows.UI.Xaml.FrameworkElement templateOwner)
        {
            var templateInstance_a0e8a84e8f9642d7af6474bc16917921 = new global::Windows.UI.Xaml.TemplateInstance();

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

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

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

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

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

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

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

            DiscreteObjectKeyFrame_cf2dd01ca8964e7b9a9b6e69a46a84bf.KeyTime = (global::Windows.UI.Xaml.Media.Animation.KeyTime)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.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::Windows.UI.Xaml.Controls.Control)templateOwner).INTERNAL_GetVisualStateGroups().Add(VisualStateGroup_3fba7c45fabe4f1cbfcc7ae7c4821711);

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

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

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

            RelativeSource_47b31b183d8e47adb9a35a388f07fabd.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_6bb8bbac5ac54b81b16b9be917227385.RelativeSource = RelativeSource_47b31b183d8e47adb9a35a388f07fabd;


            Binding_6bb8bbac5ac54b81b16b9be917227385.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

            RelativeSource_ade8eedcfb864b2cbbb8e9fb28faa8bd.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_8a75d1571a8244bd8e95461db8849c48.RelativeSource = RelativeSource_ade8eedcfb864b2cbbb8e9fb28faa8bd;


            Binding_8a75d1571a8244bd8e95461db8849c48.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

            RelativeSource_e1a5e52a532c46eb9bcf33a7178b2496.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_8828adb43bc24f55ad49006edbc12c11.RelativeSource = RelativeSource_e1a5e52a532c46eb9bcf33a7178b2496;


            Binding_8828adb43bc24f55ad49006edbc12c11.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

            RelativeSource_7fe48b98bbff4030a9961fb8f09d0f86.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_972ec641775546f8a5b27154d8558633.RelativeSource = RelativeSource_7fe48b98bbff4030a9961fb8f09d0f86;


            Binding_972ec641775546f8a5b27154d8558633.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

            RelativeSource_59cb809f461141dc985482166ed8a44b.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_9482972fee474aa0a8ea57a49beb12a8.RelativeSource = RelativeSource_59cb809f461141dc985482166ed8a44b;


            Binding_9482972fee474aa0a8ea57a49beb12a8.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;


            Border_10e588adc34d463e88e9a24615356189.Child = ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967;

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

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

            RelativeSource_82fa26a5a8b4435baf362e14d938d7b5.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_fe79b24b7748493b9b2c7dcacb549a90.RelativeSource = RelativeSource_82fa26a5a8b4435baf362e14d938d7b5;


            Binding_fe79b24b7748493b9b2c7dcacb549a90.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

            RelativeSource_0319c934045b4528bc539bd320506136.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_9573cfa6a53c445a9951bdfca936beb2.RelativeSource = RelativeSource_0319c934045b4528bc539bd320506136;


            Binding_9573cfa6a53c445a9951bdfca936beb2.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

            RelativeSource_327d9513ca4a484e8bde58261850d555.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_4acf08365a8c4e62870ca62f77e9b8df.RelativeSource = RelativeSource_327d9513ca4a484e8bde58261850d555;


            Binding_4acf08365a8c4e62870ca62f77e9b8df.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;



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

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

            templateInstance_a0e8a84e8f9642d7af6474bc16917921.TemplateContent = Border_10e588adc34d463e88e9a24615356189;
            return(templateInstance_a0e8a84e8f9642d7af6474bc16917921);
        }
示例#6
0
        private static global::Windows.UI.Xaml.TemplateInstance Instantiate_ControlTemplate_3c33b65970c541478d70fb65c9715b36(global::Windows.UI.Xaml.FrameworkElement templateOwner)
        {
            var templateInstance_9cf6f4031e244e378fbd44b6da78d542 = new global::Windows.UI.Xaml.TemplateInstance();

            templateInstance_9cf6f4031e244e378fbd44b6da78d542.TemplateOwner = templateOwner;
            var StackPanel_285680a0177a41e79eff544367e580f4 = new global::Windows.UI.Xaml.Controls.StackPanel();

            var Border_27d65d57cd084f3eb3867bd4318fbc3d = new global::Windows.UI.Xaml.Controls.Border();

            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("OuterBorder", Border_27d65d57cd084f3eb3867bd4318fbc3d);
            Border_27d65d57cd084f3eb3867bd4318fbc3d.Name = "OuterBorder";
            var Grid_702cfd4eccf44d1ab3820e53ffaf7a02         = new global::Windows.UI.Xaml.Controls.Grid();
            var ToggleButton_25d231cfe9064899839e7f5938a42ad4 = new global::Windows.UI.Xaml.Controls.Primitives.ToggleButton();

            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("DropDownToggle", ToggleButton_25d231cfe9064899839e7f5938a42ad4);
            ToggleButton_25d231cfe9064899839e7f5938a42ad4.Name = "DropDownToggle";
            ToggleButton_25d231cfe9064899839e7f5938a42ad4.HorizontalAlignment        = global::Windows.UI.Xaml.HorizontalAlignment.Stretch;
            ToggleButton_25d231cfe9064899839e7f5938a42ad4.VerticalAlignment          = global::Windows.UI.Xaml.VerticalAlignment.Stretch;
            ToggleButton_25d231cfe9064899839e7f5938a42ad4.HorizontalContentAlignment = global::Windows.UI.Xaml.HorizontalAlignment.Right;
            ToggleButton_25d231cfe9064899839e7f5938a42ad4.VerticalContentAlignment   = global::Windows.UI.Xaml.VerticalAlignment.Center;
            ToggleButton_25d231cfe9064899839e7f5938a42ad4.Visibility = global::Windows.UI.Xaml.Visibility.Collapsed;
            var Path_c434a408d2ad4c19b543923c76b79332 = new global::Windows.UI.Xaml.Shapes.Path();

            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("arrow", Path_c434a408d2ad4c19b543923c76b79332);
            Path_c434a408d2ad4c19b543923c76b79332.Name                = "arrow";
            Path_c434a408d2ad4c19b543923c76b79332.Visibility          = global::Windows.UI.Xaml.Visibility.Visible;
            Path_c434a408d2ad4c19b543923c76b79332.Stroke              = (global::Windows.UI.Xaml.Media.Brush)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.Media.Brush), @"Black");
            Path_c434a408d2ad4c19b543923c76b79332.Width               = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"13");
            Path_c434a408d2ad4c19b543923c76b79332.Height              = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"9");
            Path_c434a408d2ad4c19b543923c76b79332.StrokeThickness     = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"3");
            Path_c434a408d2ad4c19b543923c76b79332.HorizontalAlignment = global::Windows.UI.Xaml.HorizontalAlignment.Center;
            Path_c434a408d2ad4c19b543923c76b79332.VerticalAlignment   = global::Windows.UI.Xaml.VerticalAlignment.Center;
            Path_c434a408d2ad4c19b543923c76b79332.Stretch             = global::Windows.UI.Xaml.Media.Stretch.Fill;
            Path_c434a408d2ad4c19b543923c76b79332.Data                = (global::Windows.UI.Xaml.Media.Geometry)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.Media.Geometry), @"M 1,1.5 L 4.5,5 L 8,1.5");

            ToggleButton_25d231cfe9064899839e7f5938a42ad4.Content = Path_c434a408d2ad4c19b543923c76b79332;


            var TextBox_d5d5e82862824f008dcde072fa2252aa = new global::Windows.UI.Xaml.Controls.TextBox();

            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("PART_TextBox", TextBox_d5d5e82862824f008dcde072fa2252aa);
            TextBox_d5d5e82862824f008dcde072fa2252aa.Name = "PART_TextBox";
            var Binding_f559f93a7d0942d2a17d88186096d106 = new global::Windows.UI.Xaml.Data.Binding();

            Binding_f559f93a7d0942d2a17d88186096d106.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"Text");
            Binding_f559f93a7d0942d2a17d88186096d106.Mode = global::Windows.UI.Xaml.Data.BindingMode.TwoWay;
            var RelativeSource_6038741616a04005933efbd77422536d = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_6038741616a04005933efbd77422536d.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_f559f93a7d0942d2a17d88186096d106.RelativeSource = RelativeSource_6038741616a04005933efbd77422536d;


            Binding_f559f93a7d0942d2a17d88186096d106.TemplateOwner = templateInstance_9cf6f4031e244e378fbd44b6da78d542;


            Grid_702cfd4eccf44d1ab3820e53ffaf7a02.Children.Add(ToggleButton_25d231cfe9064899839e7f5938a42ad4);
            Grid_702cfd4eccf44d1ab3820e53ffaf7a02.Children.Add(TextBox_d5d5e82862824f008dcde072fa2252aa);


            Border_27d65d57cd084f3eb3867bd4318fbc3d.Child = Grid_702cfd4eccf44d1ab3820e53ffaf7a02;

            var Binding_3c42e9f9a63640b7af3b2f5a4baae5bf = new global::Windows.UI.Xaml.Data.Binding();

            Binding_3c42e9f9a63640b7af3b2f5a4baae5bf.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"Background");
            var RelativeSource_59b93c1a74a943f887c925b1e15be11a = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_59b93c1a74a943f887c925b1e15be11a.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_3c42e9f9a63640b7af3b2f5a4baae5bf.RelativeSource = RelativeSource_59b93c1a74a943f887c925b1e15be11a;


            Binding_3c42e9f9a63640b7af3b2f5a4baae5bf.TemplateOwner = templateInstance_9cf6f4031e244e378fbd44b6da78d542;

            var Binding_770feaae588b4551b205a60e41588f10 = new global::Windows.UI.Xaml.Data.Binding();

            Binding_770feaae588b4551b205a60e41588f10.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"BorderBrush");
            var RelativeSource_cc16e563a9c64ac1a2ec1de25864bdee = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_cc16e563a9c64ac1a2ec1de25864bdee.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_770feaae588b4551b205a60e41588f10.RelativeSource = RelativeSource_cc16e563a9c64ac1a2ec1de25864bdee;


            Binding_770feaae588b4551b205a60e41588f10.TemplateOwner = templateInstance_9cf6f4031e244e378fbd44b6da78d542;

            var Binding_d915b91d4f76440489a36543faa32878 = new global::Windows.UI.Xaml.Data.Binding();

            Binding_d915b91d4f76440489a36543faa32878.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"BorderThickness");
            var RelativeSource_87f66a27501e481883df26e83d12a020 = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_87f66a27501e481883df26e83d12a020.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_d915b91d4f76440489a36543faa32878.RelativeSource = RelativeSource_87f66a27501e481883df26e83d12a020;


            Binding_d915b91d4f76440489a36543faa32878.TemplateOwner = templateInstance_9cf6f4031e244e378fbd44b6da78d542;


            var Popup_7e1c46b466c54030be7cc857807fe2fd = new global::Windows.UI.Xaml.Controls.Primitives.Popup();

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

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

            ScrollViewer_febc1aea8aab4404a2899bc90468013e.VerticalScrollBarVisibility   = global::Windows.UI.Xaml.Controls.ScrollBarVisibility.Auto;
            ScrollViewer_febc1aea8aab4404a2899bc90468013e.HorizontalScrollBarVisibility = global::Windows.UI.Xaml.Controls.ScrollBarVisibility.Disabled;
            var ItemsPresenter_477893b8306546b7a300d0eb6d5278fe = new global::Windows.UI.Xaml.Controls.ItemsPresenter();

            ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("ItemsHost", ItemsPresenter_477893b8306546b7a300d0eb6d5278fe);
            ItemsPresenter_477893b8306546b7a300d0eb6d5278fe.Name = "ItemsHost";

            ScrollViewer_febc1aea8aab4404a2899bc90468013e.Content = ItemsPresenter_477893b8306546b7a300d0eb6d5278fe;

            var Binding_a4e0a7bdc9404505a5305270c56d9f6c = new global::Windows.UI.Xaml.Data.Binding();

            Binding_a4e0a7bdc9404505a5305270c56d9f6c.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"MaxDropDownHeight");
            var RelativeSource_5e5e6d1ad4bd425596aca461ef4fa564 = new global::Windows.UI.Xaml.Data.RelativeSource();

            RelativeSource_5e5e6d1ad4bd425596aca461ef4fa564.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent;

            Binding_a4e0a7bdc9404505a5305270c56d9f6c.RelativeSource = RelativeSource_5e5e6d1ad4bd425596aca461ef4fa564;


            Binding_a4e0a7bdc9404505a5305270c56d9f6c.TemplateOwner = templateInstance_9cf6f4031e244e378fbd44b6da78d542;


            Border_e86fd73fc01c4bfd8d7e2c3598b8197d.Child = ScrollViewer_febc1aea8aab4404a2899bc90468013e;


            Popup_7e1c46b466c54030be7cc857807fe2fd.Child = Border_e86fd73fc01c4bfd8d7e2c3598b8197d;


            StackPanel_285680a0177a41e79eff544367e580f4.Children.Add(Border_27d65d57cd084f3eb3867bd4318fbc3d);
            StackPanel_285680a0177a41e79eff544367e580f4.Children.Add(Popup_7e1c46b466c54030be7cc857807fe2fd);



            TextBox_d5d5e82862824f008dcde072fa2252aa.SetBinding(global::Windows.UI.Xaml.Controls.TextBox.TextProperty, Binding_f559f93a7d0942d2a17d88186096d106);
            Border_27d65d57cd084f3eb3867bd4318fbc3d.SetBinding(global::Windows.UI.Xaml.Controls.Border.BackgroundProperty, Binding_3c42e9f9a63640b7af3b2f5a4baae5bf);
            Border_27d65d57cd084f3eb3867bd4318fbc3d.SetBinding(global::Windows.UI.Xaml.Controls.Border.BorderBrushProperty, Binding_770feaae588b4551b205a60e41588f10);
            Border_27d65d57cd084f3eb3867bd4318fbc3d.SetBinding(global::Windows.UI.Xaml.Controls.Border.BorderThicknessProperty, Binding_d915b91d4f76440489a36543faa32878);
            ScrollViewer_febc1aea8aab4404a2899bc90468013e.SetBinding(global::Windows.UI.Xaml.FrameworkElement.MaxHeightProperty, Binding_a4e0a7bdc9404505a5305270c56d9f6c);

            templateInstance_9cf6f4031e244e378fbd44b6da78d542.TemplateContent = StackPanel_285680a0177a41e79eff544367e580f4;
            return(templateInstance_9cf6f4031e244e378fbd44b6da78d542);
        }