Beispiel #1
0
        /// <summary>
        /// Clean up.
        /// </summary>
        protected override void OnClose()
        {
            //(this.Package as VSPluginDSLPackage).PackageController.RemoveShellViewModel(this.ViewModel);

            this.DocData.CloseDocument();

            (this.ViewControl as MainViewControl).Dispose();
            this.ViewModel.Dispose();

            this.ViewModel   = null;
            this.ViewControl = null;

            base.OnClose();
        }
		/// <summary>
		/// This methods creates the WPF control that will represent the model
		/// </summary>
		/// <returns></returns>
		protected override global::System.Windows.FrameworkElement CreateControl()
		{
            this.ViewControl = new MainViewControl();
            this.CreateViewModel();

			// Delay initialization of the ui until other tool windows have also 
			// had a chance to be initialized
			this.ViewControl.Dispatcher.BeginInvoke((System.Action)delegate
            {
                // Populate the list view
                this.SetViewModel();
            });

			// add to main shell vm
            (this.Package as VSPluginDSLPackage).PackageController.AddShellViewModel(this.ViewModel, this.DocData.FullFileName);
			(this.Package as VSPluginDSLPackage).PackageController.SetCurrentShellViewModel(this.ViewModel);

            return this.ViewControl;
		}
Beispiel #3
0
        /// <summary>
        /// This methods creates the WPF control that will represent the model
        /// </summary>
        /// <returns></returns>
        protected override global::System.Windows.FrameworkElement CreateControl()
        {
            this.ViewControl = new MainViewControl();
            this.CreateViewModel();

            // Delay initialization of the ui until other tool windows have also
            // had a chance to be initialized
            this.ViewControl.Dispatcher.BeginInvoke((System.Action) delegate
            {
                // Populate the list view
                this.SetViewModel();
            });

            // add to main shell vm
            (this.Package as VSPluginDSLPackage).PackageController.AddShellViewModel(this.ViewModel, this.DocData.FullFileName);
            (this.Package as VSPluginDSLPackage).PackageController.SetCurrentShellViewModel(this.ViewModel);

            return(this.ViewControl);
        }
        /// <summary>
        /// Clean up.
        /// </summary>
        protected override void OnClose()
        {
			//(this.Package as VSPluginDSLPackage).PackageController.RemoveShellViewModel(this.ViewModel);		
		
			this.DocData.CloseDocument();
					
            (this.ViewControl as MainViewControl).Dispose();
			this.ViewModel.Dispose();
            
            this.ViewModel = null;
            this.ViewControl = null;
			
            base.OnClose();			
        }		
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_3fa1f80e9e6e4ec2bb8ddaf591950b02(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_b3ca292c907742a284e8481793a4dd0c = new global::System.Windows.TemplateInstance();

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

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

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

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

            Binding_146cea452c694e0395995cb1eff9ba1b.RelativeSource = RelativeSource_ddb054a750774fc8894df6f9e387aa1d;


            Binding_146cea452c694e0395995cb1eff9ba1b.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

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

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

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

            Binding_12d5b1fbd02a4c389bcd75c152fc8bcd.RelativeSource = RelativeSource_00489e5430aa4d0bbbb386e2a4cb4c5e;


            Binding_12d5b1fbd02a4c389bcd75c152fc8bcd.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

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

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

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

            Binding_f6856b00b01c4949adbfa7d7eb138047.RelativeSource = RelativeSource_17d7ca33dc184472a36858c8f05cb252;


            Binding_f6856b00b01c4949adbfa7d7eb138047.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;


            Border_b17e5b1f5958447d9318cc54f3d93c32.Child = ContentPresenter_abfcda7e9f35491690b9dde27cf9582f;

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

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

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

            Binding_f7a1c9bac29c44d19f7197cce7d417d3.RelativeSource = RelativeSource_94f8889d9e204045b3de694995f8b982;


            Binding_f7a1c9bac29c44d19f7197cce7d417d3.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

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

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

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

            Binding_c8aa62ed456b4ae2b9b438f92ed9acce.RelativeSource = RelativeSource_768beddafb544b6b977e5cf5e1647722;


            Binding_c8aa62ed456b4ae2b9b438f92ed9acce.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;

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

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

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

            Binding_82f75b1847c54527a5eaa8d0cc4da36d.RelativeSource = RelativeSource_b4771e62d8674080ac7d40b42b921d07;


            Binding_82f75b1847c54527a5eaa8d0cc4da36d.TemplateOwner = templateInstance_b3ca292c907742a284e8481793a4dd0c;



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

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

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

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

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

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

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

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

            Binding_68e8976a53a44a37a63274c826a3281b.RelativeSource = RelativeSource_7dfbc1f104f2418e9ccf585fb2f3a82d;


            Binding_68e8976a53a44a37a63274c826a3281b.TemplateOwner = templateInstance_8450f63a5d83462e8f83459f689dc38c;

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

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

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

            Binding_d0ae12447320407e8b2b25cb5fd88bcb.RelativeSource = RelativeSource_6c048aeffe8f46d4be81b962305286a7;


            Binding_d0ae12447320407e8b2b25cb5fd88bcb.TemplateOwner = templateInstance_8450f63a5d83462e8f83459f689dc38c;


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

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

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

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

            Binding_369df61b15e2483cb102f8860ba54d8d.RelativeSource = RelativeSource_841fdd2e411c415fb0cc3ece5a76c8ef;


            Binding_369df61b15e2483cb102f8860ba54d8d.TemplateOwner = templateInstance_8450f63a5d83462e8f83459f689dc38c;



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

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

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

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

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

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

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

            ToggleButton_05554ddcffb4400da5d7d822c4ad4729.Content = Path_970e4c9c536441aaa2b7cec321ab8522;


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

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

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

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

            Binding_33874615a15f4f4a8e7a1b323f027661.RelativeSource = RelativeSource_07f3d5f00ac24ae69b89f38d0c235cde;


            Binding_33874615a15f4f4a8e7a1b323f027661.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

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

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

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

            Binding_7636a81645ff4681b77f33c835487470.RelativeSource = RelativeSource_e76ae58c16854addaddd66c7a1c7c2f1;


            Binding_7636a81645ff4681b77f33c835487470.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

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

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

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

            Binding_5ac07c7327b640cc8f4d86a5562f82b1.RelativeSource = RelativeSource_0cf506501910429a8f6910618ca3a865;


            Binding_5ac07c7327b640cc8f4d86a5562f82b1.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;


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


            Border_20d9adcdf5c74d56aacd768851f0395b.Child = Grid_86d48d9e220e4b56a3265cb1b7073abf;

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

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

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

            Binding_6ba1ab7c5d3b4b12902abe26bb950e80.RelativeSource = RelativeSource_4201ad0529f54230bb21db229f3bef75;


            Binding_6ba1ab7c5d3b4b12902abe26bb950e80.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

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

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

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

            Binding_2d77a6f469534fe8ae41b6bb9c1561b5.RelativeSource = RelativeSource_6c5f4f40220a4b309bdd18fc28fc3f1a;


            Binding_2d77a6f469534fe8ae41b6bb9c1561b5.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;

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

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

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

            Binding_401409c10d7a44d08f75e12adf5a1fec.RelativeSource = RelativeSource_9455df17ab39482e83977458c783f35f;


            Binding_401409c10d7a44d08f75e12adf5a1fec.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;


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

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

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

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

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

            ScrollViewer_75902183557049a3a0c20c1c02e344cf.Content = ItemsPresenter_3395888e6b3247d79b98cf06e33db542;

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

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

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

            Binding_3cf6d6b574d54c96b2f3afda89bfc3a5.RelativeSource = RelativeSource_e259ece9a2184ea5ae4f20c97a5eb0ff;


            Binding_3cf6d6b574d54c96b2f3afda89bfc3a5.TemplateOwner = templateInstance_82c2e68d6ef24c5e90d456a94e511620;


            Border_ffceabf3c7fd4ca6bf00147427628def.Child = ScrollViewer_75902183557049a3a0c20c1c02e344cf;


            Popup_71bbbf41c17841138e8da63a6e3cdbe0.Child = Border_ffceabf3c7fd4ca6bf00147427628def;


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



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

            templateInstance_82c2e68d6ef24c5e90d456a94e511620.TemplateContent = StackPanel_88ea3dbd18db4daf93783037aab66e3a;
            return(templateInstance_82c2e68d6ef24c5e90d456a94e511620);
        }
Beispiel #8
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);
        }
        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);
        }
Beispiel #10
0
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_f285ec007d6749e58d03a0ffe7f13fee(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_a842f28ff4464f0eb1bfd1953c493dcd = new global::System.Windows.TemplateInstance();

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

            Binding_d31bcf6b622d4225a726313d3fe90350.RelativeSource = RelativeSource_3049e3094ace4de58868dd822866a0fd;


            Binding_d31bcf6b622d4225a726313d3fe90350.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

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

            Binding_de961e366f3048939400ea056dd906cd.RelativeSource = RelativeSource_0c2898b35d9443e88740a57b382120b1;


            Binding_de961e366f3048939400ea056dd906cd.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

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

            Binding_0a124b01975849dd9ec0b043c8318fe9.RelativeSource = RelativeSource_51876b7b25624c309cabfb5220566948;


            Binding_0a124b01975849dd9ec0b043c8318fe9.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

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

            Binding_07230075d28a4484b3faef8f63c5d361.RelativeSource = RelativeSource_c58f2fc6fe504647bd1ad103281ff5e7;


            Binding_07230075d28a4484b3faef8f63c5d361.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;


            Border_cfde29ecceb9463c8000dea4033be743.Child = ContentPresenter_7b1d7d7ad4e34cd388586bd2cb70beda;

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

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

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

            Binding_0030e8e2311f4894957c0180df81c8d8.RelativeSource = RelativeSource_f04bb15302544998a038b6fb975d54b4;


            Binding_0030e8e2311f4894957c0180df81c8d8.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

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

            Binding_c1899564200646b2ae83c187467331b7.RelativeSource = RelativeSource_63d2098a8eef4feeaf2baede8dcc2502;


            Binding_c1899564200646b2ae83c187467331b7.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;

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

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

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

            Binding_707407ed2f16447c855170762e2dadc5.RelativeSource = RelativeSource_a3955f5e1eec458dbce39df5b9e3e8fa;


            Binding_707407ed2f16447c855170762e2dadc5.TemplateOwner = templateInstance_a842f28ff4464f0eb1bfd1953c493dcd;


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


            Border_21102c4e75c24d6abc620c79361ccf53.Child = Grid_665e7e4dada840ed9e6a2276d3fb278f;



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

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

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

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

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

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

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

            Binding_83a79b3ac6c5403db946e5064b89949f.RelativeSource = RelativeSource_78808037afca4f5d89ce2dde90bdbcab;


            Binding_83a79b3ac6c5403db946e5064b89949f.TemplateOwner = templateInstance_afd8731f84664ee7869ebc710198bc74;

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

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

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

            Binding_bb8c0ddfc42943ba957c53cbf26cc253.RelativeSource = RelativeSource_1b354f2ee5964974a02f31f8fb2a400f;


            Binding_bb8c0ddfc42943ba957c53cbf26cc253.TemplateOwner = templateInstance_afd8731f84664ee7869ebc710198bc74;

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

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

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

            Binding_13f023d0b6e44028b00b8e56eea426ac.RelativeSource = RelativeSource_4e1197bcef9f459ead5c4023f0241ee9;


            Binding_13f023d0b6e44028b00b8e56eea426ac.TemplateOwner = templateInstance_afd8731f84664ee7869ebc710198bc74;

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

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

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

            Binding_08887a59fd0c4eebb0ebd2de7562148e.RelativeSource = RelativeSource_8c0de59bddcc4fff9eca8eaaec7e6891;


            Binding_08887a59fd0c4eebb0ebd2de7562148e.TemplateOwner = templateInstance_afd8731f84664ee7869ebc710198bc74;


            Canvas_76c5efc7e54f42a2a1f979bea34a10d4.Children.Add(ContentPresenter_c1bbf47361e14d578e96c403ddd418d7);



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

            templateInstance_afd8731f84664ee7869ebc710198bc74.TemplateContent = Canvas_76c5efc7e54f42a2a1f979bea34a10d4;
            return(templateInstance_afd8731f84664ee7869ebc710198bc74);
        }
Beispiel #12
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);
        }
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_16cc557f3d994fedb699a532399edd99(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_a0e8a84e8f9642d7af6474bc16917921 = new global::System.Windows.TemplateInstance();

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

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

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

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

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

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

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

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

            ObjectAnimationUsingKeyFrames_e1dac6177a8a47deab31a1ce5b746eeb.KeyFrames.Add(DiscreteObjectKeyFrame_cf2dd01ca8964e7b9a9b6e69a46a84bf);


            Storyboard_1129b222f91a4e0384851fd5d69daba7.Children.Add(ObjectAnimationUsingKeyFrames_e1dac6177a8a47deab31a1ce5b746eeb);


            VisualState_6efcc0ae9ec6490daeeecb7447ebe26c.Storyboard = Storyboard_1129b222f91a4e0384851fd5d69daba7;


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


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

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

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

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

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

            Binding_6bb8bbac5ac54b81b16b9be917227385.RelativeSource = RelativeSource_47b31b183d8e47adb9a35a388f07fabd;


            Binding_6bb8bbac5ac54b81b16b9be917227385.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

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

            Binding_8a75d1571a8244bd8e95461db8849c48.RelativeSource = RelativeSource_ade8eedcfb864b2cbbb8e9fb28faa8bd;


            Binding_8a75d1571a8244bd8e95461db8849c48.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

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

            Binding_8828adb43bc24f55ad49006edbc12c11.RelativeSource = RelativeSource_e1a5e52a532c46eb9bcf33a7178b2496;


            Binding_8828adb43bc24f55ad49006edbc12c11.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

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

            Binding_972ec641775546f8a5b27154d8558633.RelativeSource = RelativeSource_7fe48b98bbff4030a9961fb8f09d0f86;


            Binding_972ec641775546f8a5b27154d8558633.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

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

            Binding_9482972fee474aa0a8ea57a49beb12a8.RelativeSource = RelativeSource_59cb809f461141dc985482166ed8a44b;


            Binding_9482972fee474aa0a8ea57a49beb12a8.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;


            Border_10e588adc34d463e88e9a24615356189.Child = ContentPresenter_2d6617b470214a2cbebfee7ac5ec8967;

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

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

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

            Binding_fe79b24b7748493b9b2c7dcacb549a90.RelativeSource = RelativeSource_82fa26a5a8b4435baf362e14d938d7b5;


            Binding_fe79b24b7748493b9b2c7dcacb549a90.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

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

            Binding_9573cfa6a53c445a9951bdfca936beb2.RelativeSource = RelativeSource_0319c934045b4528bc539bd320506136;


            Binding_9573cfa6a53c445a9951bdfca936beb2.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;

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

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

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

            Binding_4acf08365a8c4e62870ca62f77e9b8df.RelativeSource = RelativeSource_327d9513ca4a484e8bde58261850d555;


            Binding_4acf08365a8c4e62870ca62f77e9b8df.TemplateOwner = templateInstance_a0e8a84e8f9642d7af6474bc16917921;



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

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

            templateInstance_a0e8a84e8f9642d7af6474bc16917921.TemplateContent = Border_10e588adc34d463e88e9a24615356189;
            return(templateInstance_a0e8a84e8f9642d7af6474bc16917921);
        }
Beispiel #14
0
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_cb31ed612d244fd58aa64042bc419537(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_d72aae7172324b038efcdd410575590a = new global::System.Windows.TemplateInstance();

            templateInstance_d72aae7172324b038efcdd410575590a.TemplateOwner = templateOwner;
            var Canvas_49ffcd1ce86748b4a50c7215a26ba822 = new global::System.Windows.Controls.Canvas();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("RootCanvas", Canvas_49ffcd1ce86748b4a50c7215a26ba822);
            Canvas_49ffcd1ce86748b4a50c7215a26ba822.Name = "RootCanvas";
            var Rectangle_ae7e1d68442f44d29706c85656055fc2 = new global::System.Windows.Shapes.Rectangle();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("RectangleBehind", Rectangle_ae7e1d68442f44d29706c85656055fc2);
            Rectangle_ae7e1d68442f44d29706c85656055fc2.Name = "RectangleBehind";
            var Binding_5ffb7685b796455f946f92f0c8005665 = new global::System.Windows.Data.Binding();

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

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

            Binding_5ffb7685b796455f946f92f0c8005665.RelativeSource = RelativeSource_7887ba0e62374d829443584d324f3d25;


            Binding_5ffb7685b796455f946f92f0c8005665.TemplateOwner = templateInstance_d72aae7172324b038efcdd410575590a;


            var Rectangle_801390188ac6495391f90e6a877da71f = new global::System.Windows.Shapes.Rectangle();

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("RectangleInFront", Rectangle_801390188ac6495391f90e6a877da71f);
            Rectangle_801390188ac6495391f90e6a877da71f.Name = "RectangleInFront";
            var Binding_5ed878753a3b4efe8d92de66b9bab080 = new global::System.Windows.Data.Binding();

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

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

            Binding_5ed878753a3b4efe8d92de66b9bab080.RelativeSource = RelativeSource_fa20d292fe744bfa83fe3ab5a0b25a85;


            Binding_5ed878753a3b4efe8d92de66b9bab080.TemplateOwner = templateInstance_d72aae7172324b038efcdd410575590a;


            Canvas_49ffcd1ce86748b4a50c7215a26ba822.Children.Add(Rectangle_ae7e1d68442f44d29706c85656055fc2);
            Canvas_49ffcd1ce86748b4a50c7215a26ba822.Children.Add(Rectangle_801390188ac6495391f90e6a877da71f);



            Rectangle_ae7e1d68442f44d29706c85656055fc2.SetBinding(global::System.Windows.Shapes.Shape.FillProperty, Binding_5ffb7685b796455f946f92f0c8005665);
            Rectangle_801390188ac6495391f90e6a877da71f.SetBinding(global::System.Windows.Shapes.Shape.FillProperty, Binding_5ed878753a3b4efe8d92de66b9bab080);

            templateInstance_d72aae7172324b038efcdd410575590a.TemplateContent = Canvas_49ffcd1ce86748b4a50c7215a26ba822;
            return(templateInstance_d72aae7172324b038efcdd410575590a);
        }
Beispiel #15
0
        private static global::System.Windows.TemplateInstance Instantiate_ControlTemplate_3c33b65970c541478d70fb65c9715b36(global::System.Windows.FrameworkElement templateOwner)
        {
            var templateInstance_9cf6f4031e244e378fbd44b6da78d542 = new global::System.Windows.TemplateInstance();

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

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

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

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

            ((global::System.Windows.Controls.Control)templateOwner).RegisterName("arrow", Path_c434a408d2ad4c19b543923c76b79332);
            Path_c434a408d2ad4c19b543923c76b79332.Name                = "arrow";
            Path_c434a408d2ad4c19b543923c76b79332.Visibility          = global::System.Windows.Visibility.Visible;
            Path_c434a408d2ad4c19b543923c76b79332.Stroke              = (global::System.Windows.Media.Brush)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.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::System.Windows.HorizontalAlignment.Center;
            Path_c434a408d2ad4c19b543923c76b79332.VerticalAlignment   = global::System.Windows.VerticalAlignment.Center;
            Path_c434a408d2ad4c19b543923c76b79332.Stretch             = global::System.Windows.Media.Stretch.Fill;
            Path_c434a408d2ad4c19b543923c76b79332.Data                = (global::System.Windows.Media.Geometry)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Windows.Media.Geometry), @"M 1,1.5 L 4.5,5 L 8,1.5");

            ToggleButton_25d231cfe9064899839e7f5938a42ad4.Content = Path_c434a408d2ad4c19b543923c76b79332;


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

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

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

            RelativeSource_6038741616a04005933efbd77422536d.Mode = global::System.Windows.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::System.Windows.Data.Binding();

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

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

            Binding_3c42e9f9a63640b7af3b2f5a4baae5bf.RelativeSource = RelativeSource_59b93c1a74a943f887c925b1e15be11a;


            Binding_3c42e9f9a63640b7af3b2f5a4baae5bf.TemplateOwner = templateInstance_9cf6f4031e244e378fbd44b6da78d542;

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

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

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

            Binding_770feaae588b4551b205a60e41588f10.RelativeSource = RelativeSource_cc16e563a9c64ac1a2ec1de25864bdee;


            Binding_770feaae588b4551b205a60e41588f10.TemplateOwner = templateInstance_9cf6f4031e244e378fbd44b6da78d542;

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

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

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

            Binding_d915b91d4f76440489a36543faa32878.RelativeSource = RelativeSource_87f66a27501e481883df26e83d12a020;


            Binding_d915b91d4f76440489a36543faa32878.TemplateOwner = templateInstance_9cf6f4031e244e378fbd44b6da78d542;


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

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

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

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

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

            ScrollViewer_febc1aea8aab4404a2899bc90468013e.Content = ItemsPresenter_477893b8306546b7a300d0eb6d5278fe;

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

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

            RelativeSource_5e5e6d1ad4bd425596aca461ef4fa564.Mode = global::System.Windows.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::System.Windows.Controls.TextBox.TextProperty, Binding_f559f93a7d0942d2a17d88186096d106);
            Border_27d65d57cd084f3eb3867bd4318fbc3d.SetBinding(global::System.Windows.Controls.Border.BackgroundProperty, Binding_3c42e9f9a63640b7af3b2f5a4baae5bf);
            Border_27d65d57cd084f3eb3867bd4318fbc3d.SetBinding(global::System.Windows.Controls.Border.BorderBrushProperty, Binding_770feaae588b4551b205a60e41588f10);
            Border_27d65d57cd084f3eb3867bd4318fbc3d.SetBinding(global::System.Windows.Controls.Border.BorderThicknessProperty, Binding_d915b91d4f76440489a36543faa32878);
            ScrollViewer_febc1aea8aab4404a2899bc90468013e.SetBinding(global::System.Windows.FrameworkElement.MaxHeightProperty, Binding_a4e0a7bdc9404505a5305270c56d9f6c);

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