Ejemplo n.º 1
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);
        }
        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);
        }