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

            templateInstance_e63a3324cd3840b8bb6a590db0a94283.TemplateOwner = templateOwner;
            var Grid_83fdab7a48894fd18f82be1c873d4679 = new global::System.Windows.Controls.Grid();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Root", Grid_83fdab7a48894fd18f82be1c873d4679);
            Grid_83fdab7a48894fd18f82be1c873d4679.Name = "Root";
            var ColumnDefinition_40e1206d34ca4895abfe888b8af328dc = new global::System.Windows.Controls.ColumnDefinition();

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

            var ColumnDefinition_527f5ebe8b8a487083fa30b3655a5eb4 = new global::System.Windows.Controls.ColumnDefinition();

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

            Grid_83fdab7a48894fd18f82be1c873d4679.ColumnDefinitions.Add(ColumnDefinition_40e1206d34ca4895abfe888b8af328dc);
            Grid_83fdab7a48894fd18f82be1c873d4679.ColumnDefinitions.Add(ColumnDefinition_527f5ebe8b8a487083fa30b3655a5eb4);

            var TextBox_e8ad548eda0047e9a6f219e5890ad050 = new global::System.Windows.Controls.TextBox();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("TextBox", TextBox_e8ad548eda0047e9a6f219e5890ad050);
            TextBox_e8ad548eda0047e9a6f219e5890ad050.Name = "TextBox";
            global::System.Windows.Controls.Grid.SetColumn(TextBox_e8ad548eda0047e9a6f219e5890ad050, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"0"));
            var Binding_9bfb5d7cf4aa44ac854b34116f9b6d66 = new global::System.Windows.Data.Binding();

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

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

            Binding_9bfb5d7cf4aa44ac854b34116f9b6d66.RelativeSource = RelativeSource_f4ee9cb21d2a4eb1bc400b2c26fd0dcc;


            Binding_9bfb5d7cf4aa44ac854b34116f9b6d66.TemplateOwner = templateInstance_e63a3324cd3840b8bb6a590db0a94283;

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

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

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

            Binding_c7b34b15a8fd4ff4acf94b73893e4529.RelativeSource = RelativeSource_adefd8da691644fcabf12ad850c9e6a9;


            Binding_c7b34b15a8fd4ff4acf94b73893e4529.TemplateOwner = templateInstance_e63a3324cd3840b8bb6a590db0a94283;

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

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

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

            Binding_b7b85e330b574a7ead3934864e6aef11.RelativeSource = RelativeSource_64d04ff10418401993520dd22b42ddbd;


            Binding_b7b85e330b574a7ead3934864e6aef11.TemplateOwner = templateInstance_e63a3324cd3840b8bb6a590db0a94283;

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

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

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

            Binding_2ba4d05177cf40298950abe15a9ae41e.RelativeSource = RelativeSource_6d1393c985644dea9ce7a991de1f4f55;


            Binding_2ba4d05177cf40298950abe15a9ae41e.TemplateOwner = templateInstance_e63a3324cd3840b8bb6a590db0a94283;


            var Button_98e020b5b2e247c4a65dde2bcf95be2e = new global::System.Windows.Controls.Button();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Button", Button_98e020b5b2e247c4a65dde2bcf95be2e);
            Button_98e020b5b2e247c4a65dde2bcf95be2e.Name = "Button";
            global::System.Windows.Controls.Grid.SetColumn(Button_98e020b5b2e247c4a65dde2bcf95be2e, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"1"));
            Button_98e020b5b2e247c4a65dde2bcf95be2e.Content = (global::System.Object)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Object), @"▼");
            Button_98e020b5b2e247c4a65dde2bcf95be2e.Width   = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"30");
            Button_98e020b5b2e247c4a65dde2bcf95be2e.Margin  = (global::System.Windows.Thickness)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Thickness), @"2,0,2,0");
            var Binding_fcba859302854aab9b9c439d2e871267 = new global::System.Windows.Data.Binding();

            Binding_fcba859302854aab9b9c439d2e871267.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Foreground");
            var RelativeSource_8013d701695b46ad94dd5d59e00a2cb0 = new global::System.Windows.Data.RelativeSource();

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

            Binding_fcba859302854aab9b9c439d2e871267.RelativeSource = RelativeSource_8013d701695b46ad94dd5d59e00a2cb0;


            Binding_fcba859302854aab9b9c439d2e871267.TemplateOwner = templateInstance_e63a3324cd3840b8bb6a590db0a94283;

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

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

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

            Binding_9df19b0897774b359d6300faa9e11666.RelativeSource = RelativeSource_e7ff9ba4dbf841fa948dc73a29d77a53;


            Binding_9df19b0897774b359d6300faa9e11666.TemplateOwner = templateInstance_e63a3324cd3840b8bb6a590db0a94283;

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

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

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

            Binding_60e905380dcb41449831e462e6f80c83.RelativeSource = RelativeSource_8d6049fc3c4147bdb7282c50459d6651;


            Binding_60e905380dcb41449831e462e6f80c83.TemplateOwner = templateInstance_e63a3324cd3840b8bb6a590db0a94283;


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

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Popup", Popup_178cd792b23d46ccbcf76958fd333e1d);
            Popup_178cd792b23d46ccbcf76958fd333e1d.Name = "Popup";
            Popup_178cd792b23d46ccbcf76958fd333e1d.VerticalAlignment = global::System.Windows.VerticalAlignment.Bottom;

            Grid_83fdab7a48894fd18f82be1c873d4679.Children.Add(TextBox_e8ad548eda0047e9a6f219e5890ad050);
            Grid_83fdab7a48894fd18f82be1c873d4679.Children.Add(Button_98e020b5b2e247c4a65dde2bcf95be2e);
            Grid_83fdab7a48894fd18f82be1c873d4679.Children.Add(Popup_178cd792b23d46ccbcf76958fd333e1d);



            TextBox_e8ad548eda0047e9a6f219e5890ad050.SetBinding(global::System.Windows.Controls.Control.BackgroundProperty, Binding_9bfb5d7cf4aa44ac854b34116f9b6d66);
            TextBox_e8ad548eda0047e9a6f219e5890ad050.SetBinding(global::System.Windows.Controls.Control.BorderBrushProperty, Binding_c7b34b15a8fd4ff4acf94b73893e4529);
            TextBox_e8ad548eda0047e9a6f219e5890ad050.SetBinding(global::System.Windows.Controls.Control.BorderThicknessProperty, Binding_b7b85e330b574a7ead3934864e6aef11);
            TextBox_e8ad548eda0047e9a6f219e5890ad050.SetBinding(global::System.Windows.Controls.Control.PaddingProperty, Binding_2ba4d05177cf40298950abe15a9ae41e);
            Button_98e020b5b2e247c4a65dde2bcf95be2e.SetBinding(global::System.Windows.Controls.Control.ForegroundProperty, Binding_fcba859302854aab9b9c439d2e871267);
            Button_98e020b5b2e247c4a65dde2bcf95be2e.SetBinding(global::System.Windows.Controls.Control.BorderBrushProperty, Binding_9df19b0897774b359d6300faa9e11666);
            Button_98e020b5b2e247c4a65dde2bcf95be2e.SetBinding(global::System.Windows.Controls.Control.BorderThicknessProperty, Binding_60e905380dcb41449831e462e6f80c83);

            templateInstance_e63a3324cd3840b8bb6a590db0a94283.TemplateContent = Grid_83fdab7a48894fd18f82be1c873d4679;
            return(templateInstance_e63a3324cd3840b8bb6a590db0a94283);
        }
Example #2
0
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_774828d401f24f19ae1284661393c433(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_342dda018fca426091c96e0702ac85fb = new global::System.Windows.TemplateInstance();

            templateInstance_342dda018fca426091c96e0702ac85fb.TemplateOwner = templateOwner;
            var Grid_d2c5f67656be49198b6e3efcfc9cc0d2 = new global::System.Windows.Controls.Grid();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Root", Grid_d2c5f67656be49198b6e3efcfc9cc0d2);
            Grid_d2c5f67656be49198b6e3efcfc9cc0d2.Name = "Root";
            var ColumnDefinition_ddc4243eeb7f4fd18e920ded79e45556 = new global::System.Windows.Controls.ColumnDefinition();

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

            var ColumnDefinition_4e2f238f21944fc592e92958b03da088 = new global::System.Windows.Controls.ColumnDefinition();

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

            Grid_d2c5f67656be49198b6e3efcfc9cc0d2.ColumnDefinitions.Add(ColumnDefinition_ddc4243eeb7f4fd18e920ded79e45556);
            Grid_d2c5f67656be49198b6e3efcfc9cc0d2.ColumnDefinitions.Add(ColumnDefinition_4e2f238f21944fc592e92958b03da088);

            var TextBox_0a7e5081c37049afb9e46a1ac2fe362e = new global::System.Windows.Controls.TextBox();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("TextBox", TextBox_0a7e5081c37049afb9e46a1ac2fe362e);
            TextBox_0a7e5081c37049afb9e46a1ac2fe362e.Name = "TextBox";
            global::System.Windows.Controls.Grid.SetColumn(TextBox_0a7e5081c37049afb9e46a1ac2fe362e, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"0"));
            var Binding_eb3d83ca7da44eb18c9db7e502c3b63a = new global::System.Windows.Data.Binding();

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

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

            Binding_eb3d83ca7da44eb18c9db7e502c3b63a.RelativeSource = RelativeSource_323ad6d163484146883d96cb9cc2eb9e;


            Binding_eb3d83ca7da44eb18c9db7e502c3b63a.TemplateOwner = templateInstance_342dda018fca426091c96e0702ac85fb;

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

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

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

            Binding_4c9a4ab572414c8ea08d360bbb994c8d.RelativeSource = RelativeSource_08803430b3334fb6860652dcecfd229b;


            Binding_4c9a4ab572414c8ea08d360bbb994c8d.TemplateOwner = templateInstance_342dda018fca426091c96e0702ac85fb;

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

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

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

            Binding_19f0d877cb1f46b9ba5b51e587a8a91f.RelativeSource = RelativeSource_4da5f4bc2a4240c5b3d0b9c0218eba0a;


            Binding_19f0d877cb1f46b9ba5b51e587a8a91f.TemplateOwner = templateInstance_342dda018fca426091c96e0702ac85fb;

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

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

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

            Binding_9a36a78445064710ab65f1d658bf125b.RelativeSource = RelativeSource_0cdb916f603946958c43864dd854b034;


            Binding_9a36a78445064710ab65f1d658bf125b.TemplateOwner = templateInstance_342dda018fca426091c96e0702ac85fb;


            var Button_8764eb0dba1f477a89ef2fce3ec219de = new global::System.Windows.Controls.Button();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Button", Button_8764eb0dba1f477a89ef2fce3ec219de);
            Button_8764eb0dba1f477a89ef2fce3ec219de.Name = "Button";
            global::System.Windows.Controls.Grid.SetColumn(Button_8764eb0dba1f477a89ef2fce3ec219de, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"1"));
            Button_8764eb0dba1f477a89ef2fce3ec219de.Content = (global::System.Object)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Object), @"▼");
            Button_8764eb0dba1f477a89ef2fce3ec219de.Width   = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"30");
            Button_8764eb0dba1f477a89ef2fce3ec219de.Margin  = (global::System.Windows.Thickness)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Thickness), @"2,0,2,0");
            var Binding_9bdb992db4ca466bbc8e2934d73a9d36 = new global::System.Windows.Data.Binding();

            Binding_9bdb992db4ca466bbc8e2934d73a9d36.Path = (global::System.Windows.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.PropertyPath), @"Foreground");
            var RelativeSource_4601b43081ef4624818772ad158addf4 = new global::System.Windows.Data.RelativeSource();

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

            Binding_9bdb992db4ca466bbc8e2934d73a9d36.RelativeSource = RelativeSource_4601b43081ef4624818772ad158addf4;


            Binding_9bdb992db4ca466bbc8e2934d73a9d36.TemplateOwner = templateInstance_342dda018fca426091c96e0702ac85fb;

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

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

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

            Binding_53f6accb6bee4d689a7ffd667aaa847a.RelativeSource = RelativeSource_475062fdac094166a83ecc21e5476083;


            Binding_53f6accb6bee4d689a7ffd667aaa847a.TemplateOwner = templateInstance_342dda018fca426091c96e0702ac85fb;

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

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

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

            Binding_69533b84f62846bf917e1fa02dede28a.RelativeSource = RelativeSource_7a862635a2824423b9375dbcca95d183;


            Binding_69533b84f62846bf917e1fa02dede28a.TemplateOwner = templateInstance_342dda018fca426091c96e0702ac85fb;


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

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("Popup", Popup_1a590b878d2d4275850bbfd54ef47c0d);
            Popup_1a590b878d2d4275850bbfd54ef47c0d.Name = "Popup";
            Popup_1a590b878d2d4275850bbfd54ef47c0d.VerticalAlignment = global::System.Windows.VerticalAlignment.Bottom;

            Grid_d2c5f67656be49198b6e3efcfc9cc0d2.Children.Add(TextBox_0a7e5081c37049afb9e46a1ac2fe362e);
            Grid_d2c5f67656be49198b6e3efcfc9cc0d2.Children.Add(Button_8764eb0dba1f477a89ef2fce3ec219de);
            Grid_d2c5f67656be49198b6e3efcfc9cc0d2.Children.Add(Popup_1a590b878d2d4275850bbfd54ef47c0d);



            TextBox_0a7e5081c37049afb9e46a1ac2fe362e.SetBinding(global::System.Windows.Controls.Control.BackgroundProperty, Binding_eb3d83ca7da44eb18c9db7e502c3b63a);
            TextBox_0a7e5081c37049afb9e46a1ac2fe362e.SetBinding(global::System.Windows.Controls.Control.BorderBrushProperty, Binding_4c9a4ab572414c8ea08d360bbb994c8d);
            TextBox_0a7e5081c37049afb9e46a1ac2fe362e.SetBinding(global::System.Windows.Controls.Control.BorderThicknessProperty, Binding_19f0d877cb1f46b9ba5b51e587a8a91f);
            TextBox_0a7e5081c37049afb9e46a1ac2fe362e.SetBinding(global::System.Windows.Controls.Control.PaddingProperty, Binding_9a36a78445064710ab65f1d658bf125b);
            Button_8764eb0dba1f477a89ef2fce3ec219de.SetBinding(global::System.Windows.Controls.Control.ForegroundProperty, Binding_9bdb992db4ca466bbc8e2934d73a9d36);
            Button_8764eb0dba1f477a89ef2fce3ec219de.SetBinding(global::System.Windows.Controls.Control.BorderBrushProperty, Binding_53f6accb6bee4d689a7ffd667aaa847a);
            Button_8764eb0dba1f477a89ef2fce3ec219de.SetBinding(global::System.Windows.Controls.Control.BorderThicknessProperty, Binding_69533b84f62846bf917e1fa02dede28a);

            templateInstance_342dda018fca426091c96e0702ac85fb.TemplateContent = Grid_d2c5f67656be49198b6e3efcfc9cc0d2;
            return(templateInstance_342dda018fca426091c96e0702ac85fb);
        }
Example #3
0
        static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_955230d423104401a73819b07b3c50ba(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_68d80f27031e4ed6aaed255212d7f79e = new global::System.Windows.TemplateInstance();

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

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

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

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

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

            ColumnDefinition_87a32d2ee21b45d2a4566748e7a995ab.Width = (global::System.Windows.GridLength)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.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::System.Windows.Controls.Grid();

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

            ((global::System.Windows.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::System.Windows.Media.Brush)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Media.Brush), @"#FFFFFFFF");

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

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

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

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

            Binding_73b75de7ad0341d38883fc34e8e8403c.RelativeSource = RelativeSource_9725343727aa41d8b96833126c84ca00;


            Binding_73b75de7ad0341d38883fc34e8e8403c.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;

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

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

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

            Binding_58edf7e603de45479408b7528f708b7e.RelativeSource = RelativeSource_c64087ae46864b469b548a01d65a6a81;


            Binding_58edf7e603de45479408b7528f708b7e.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;

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

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

            RelativeSource_84cea802454748beb50a780c193354fe.Mode = global::System.Windows.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::System.Windows.Controls.Primitives.RepeatButton();

            global::System.Windows.Controls.Grid.SetColumn(RepeatButton_0e2351b63a0f457390eecdb05ce03a55, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"1"));
            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("PART_DecrementButton", RepeatButton_0e2351b63a0f457390eecdb05ce03a55);
            RepeatButton_0e2351b63a0f457390eecdb05ce03a55.Name    = "PART_DecrementButton";
            RepeatButton_0e2351b63a0f457390eecdb05ce03a55.Margin  = (global::System.Windows.Thickness)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.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::System.Windows.Controls.Primitives.RepeatButton();

            global::System.Windows.Controls.Grid.SetColumn(RepeatButton_18e85dba18194e44836515fd50abfc1b, (global::System.Int32)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Int32), @"2"));
            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("PART_IncrementButton", RepeatButton_18e85dba18194e44836515fd50abfc1b);
            RepeatButton_18e85dba18194e44836515fd50abfc1b.Name    = "PART_IncrementButton";
            RepeatButton_18e85dba18194e44836515fd50abfc1b.Margin  = (global::System.Windows.Thickness)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.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::System.Windows.Data.Binding();

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

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

            Binding_ea65ee99d4654121b2aff2d9b511688a.RelativeSource = RelativeSource_d207b136a95a417fa4510f0ec5291512;


            Binding_ea65ee99d4654121b2aff2d9b511688a.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;

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

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

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

            Binding_e32828ec685846a8883905a81353b781.RelativeSource = RelativeSource_5c4f7c024ad140a1980d06eb06db160d;


            Binding_e32828ec685846a8883905a81353b781.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;

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

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

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

            Binding_51730f076d984cb18192cce69cbe801e.RelativeSource = RelativeSource_b0b9ebdb74b5491892e6c9529964f430;


            Binding_51730f076d984cb18192cce69cbe801e.TemplateOwner = templateInstance_68d80f27031e4ed6aaed255212d7f79e;



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

            templateInstance_68d80f27031e4ed6aaed255212d7f79e.TemplateContent = Border_cf3ab70b1fc34acc8131c5bc5ce5cef8;
            return(templateInstance_68d80f27031e4ed6aaed255212d7f79e);
        }