private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            IsParsing = true
            ;
            // Source ..\..\..\..\..\..\..\UnoEditor.Shared\Views\Editor\Editor.xaml (Line 1:2)
            Content =
                new global::Windows.UI.Xaml.Controls.RichEditBox
            {
                IsColorFontEnabled      = true /* bool/, True, RichEditBox/IsColorFontEnabled */,
                IsSpellCheckEnabled     = false /* bool/, False, RichEditBox/IsSpellCheckEnabled */,
                IsTextPredictionEnabled = true /* bool/, True, RichEditBox/IsTextPredictionEnabled */,
                AcceptsReturn           = true /* bool/, True, RichEditBox/AcceptsReturn */,

                // WARNING Property FontFamily does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}RichEditBox, name is FontFamily, preferrednamespace http://schemas.microsoft.com/winfx/2006/xaml/presentation
                // Source ..\..\..\..\..\..\..\UnoEditor.Shared\Views\Editor\Editor.xaml (Line 12:4)
            }
            .Editor_ce9c7d74b2940cc0e0945a330e310a8c_XamlApply((Editor_ce9c7d74b2940cc0e0945a330e310a8cXamlApplyExtensions.XamlApplyHandler0)(c0 =>
            {
                nameScope.RegisterName("edit", c0);
                this.edit = c0;
            }
                                                                                                                                              ))
            ;

            this
            .Apply((c1 =>
            {
                // Source E:\Reposs\UnoEditor\UnoEditor\UnoEditor.Shared\Views\Editor\Editor.xaml (Line 1:2)

                // WARNING Property c1.base does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}UserControl, the namespace is http://www.w3.org/XML/1998/namespace. This error was considered irrelevant by the XamlFileGenerator
            }
                    ))
            .Apply((c2 =>
            {
                // Class UnoEditor.Shared.Views.Editor.Editor
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c2, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/Views/Editor/Editor.xaml");
                c2.CreationComplete();
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
        }
        public Windows.UI.Xaml.Controls.Grid GetContent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            // Source ..\..\..\..\..\..\..\TestConsoleDead.Shared\GenericControl.xaml (Line 1:2)
            Windows.UI.Xaml.Controls.Grid content = new global::Windows.UI.Xaml.Controls.Grid
            {
                Name = "gridlayout" /* string/, gridlayout, Grid/Name */,
                // Source ..\..\..\..\..\..\..\TestConsoleDead.Shared\GenericControl.xaml (Line 12:6)
            }
            .GenericControl_39182d44343ad6d2430ae1cfaf7ed3f7_XamlApply((GenericControl_39182d44343ad6d2430ae1cfaf7ed3f7XamlApplyExtensions.XamlApplyHandler0)(c0 =>
            {
                nameScope.RegisterName("gridlayout", c0);
                this.gridlayout = c0;
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c0, "file:///C:/Users/Nineleaps-user/source/repos/TestConsoleDead/TestConsoleDead.Shared/GenericControl.xaml");
            }
                                                                                                                                                              ))
            ;

            content
            .Apply((c1 =>
            {
                // Source C:\Users\Nineleaps-user\source\repos\TestConsoleDead\TestConsoleDead.Shared\GenericControl.xaml (Line 1:2)

                // WARNING Property c1.base does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}UserControl, the namespace is http://www.w3.org/XML/1998/namespace. This error was considered irrelevant by the XamlFileGenerator
            }
                    ))
            .Apply((c2 =>
            {
                // Class TestConsoleDead.Shared.GenericControl
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c2, "file:///C:/Users/Nineleaps-user/source/repos/TestConsoleDead/TestConsoleDead.Shared/GenericControl.xaml");
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
            return(content);
        }
Example #3
0
        private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            IsParsing = true
            ;
            // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 1:2)
            Content =
                new global::Windows.UI.Xaml.Controls.Grid
            {
                IsParsing = true
                ,
                ColumnDefinitions =
                {
                    new global::Windows.UI.Xaml.Controls.ColumnDefinition
                    {
                        Width = new Windows.UI.Xaml.GridLength(1f, Windows.UI.Xaml.GridUnitType.Star) /* Windows.UI.Xaml.GridLength/, *, ColumnDefinition/Width */,
                        // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 14:14)
                    }
                    ,
                    new global::Windows.UI.Xaml.Controls.ColumnDefinition
                    {
                        Width = new Windows.UI.Xaml.GridLength(1f, Windows.UI.Xaml.GridUnitType.Auto) /* Windows.UI.Xaml.GridLength/, Auto, ColumnDefinition/Width */,
                        // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 15:14)
                    }
                    ,
                }

                ,
                // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 12:6)
                Children =
                {
                    new global::Windows.UI.Xaml.Controls.StackPanel
                    {
                        IsParsing = true
                        ,
                        Orientation = global::Windows.UI.Xaml.Controls.Orientation.Horizontal /* Windows.UI.Xaml.Controls.Orientation/, Horizontal, StackPanel/Orientation */,
                        // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 17:10)
                        Children =
                        {
                            new global::Windows.UI.Xaml.Controls.TextBlock
                            {
                                IsParsing = true
                                ,
                                // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 18:14)
                            }
                            .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler1)(c2 =>
                            {
                                c2.SetBinding(global::Windows.UI.Xaml.Controls.TextBlock.TextProperty, new Windows.UI.Xaml.Data.Binding{
                                    Path = @"Item.Id" /* Windows.UI.Xaml.PropertyPath/Windows.UI.Xaml.PropertyPath, Item.Id, /_PositionalParameters */, Mode = global::Windows.UI.Xaml.Data.BindingMode.OneWay                                                                                                                                    /* Windows.UI.Xaml.Data.BindingMode/Windows.UI.Xaml.Data.BindingMode, OneWay, Binding/Mode */
                                });
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c2, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                                c2.CreationComplete();
                            }
                                                                                                                                                                                ))
                            ,
                            new global::Windows.UI.Xaml.Controls.TextBlock
                            {
                                IsParsing = true
                                ,
                                Margin = new global::Windows.UI.Xaml.Thickness(0, 0, 10, 0) /* Windows.UI.Xaml.Thickness/, 0,0,10,0, TextBlock/Margin */,
                                Text   = "Click.-......." /* string/, Click.-......., TextBlock/Text */,
                                // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 19:14)
                            }
                            .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler1)(c3 =>
                            {
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c3, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                                c3.CreationComplete();
                            }
                                                                                                                                                                                ))
                            ,
                        }
                    }
                    .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler2)(c4 =>
                    {
                        global::Windows.UI.Xaml.Controls.Grid.SetColumn(c4, 0 /* int/, 0, Grid/Column */);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c4, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                        c4.CreationComplete();
                    }
                                                                                                                                                                        ))
                    ,
                    new global::Windows.UI.Xaml.Controls.Grid
                    {
                        IsParsing = true
                        ,
                        // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 22:10)
                        Children =
                        {
                            new global::Windows.UI.Xaml.Controls.StackPanel
                            {
                                IsParsing = true
                                ,
                                Orientation = global::Windows.UI.Xaml.Controls.Orientation.Vertical /* Windows.UI.Xaml.Controls.Orientation/, Vertical, StackPanel/Orientation */,
                                // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 23:14)
                                Children =
                                {
                                    new global::Windows.UI.Xaml.Controls.Button
                                    {
                                        IsParsing = true
                                        ,
                                        Name   = "AddComandUx",
                                        Margin = new global::Windows.UI.Xaml.Thickness(0, 2, 0, 0) /* Windows.UI.Xaml.Thickness/, 0,2,0,0, Button/Margin */,
                                        // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 24:18)
                                        Content =
                                            new global::Windows.UI.Xaml.Controls.SymbolIcon
                                        {
                                            IsParsing = true
                                            ,
                                            Symbol = global::Windows.UI.Xaml.Controls.Symbol.Add /* Windows.UI.Xaml.Controls.Symbol/, Add, SymbolIcon/Symbol */,
                                            // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 25:22)
                                        }
                                        .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler3)(c5 =>
                                        {
                                            global::Uno.UI.FrameworkElementHelper.SetBaseUri(c5, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                                            c5.CreationComplete();
                                        }
                                                                                                                                                                                            ))
                                        ,
                                    }
                                    .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler4)(c6 =>
                                    {
                                        nameScope.RegisterName("AddComandUx", c6);
                                        this.AddComandUx = c6;
                                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c6, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                                        c6.CreationComplete();
                                    }
                                                                                                                                                                                        ))
                                    ,
                                    new global::Windows.UI.Xaml.Controls.Button
                                    {
                                        IsParsing = true
                                        ,
                                        Name   = "DeleteCommandUx",
                                        Margin = new global::Windows.UI.Xaml.Thickness(0, 2, 0, 0) /* Windows.UI.Xaml.Thickness/, 0,2,0,0, Button/Margin */,
                                        // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 27:18)
                                        Content =
                                            new global::Windows.UI.Xaml.Controls.SymbolIcon
                                        {
                                            IsParsing = true
                                            ,
                                            Symbol = global::Windows.UI.Xaml.Controls.Symbol.Delete /* Windows.UI.Xaml.Controls.Symbol/, Delete, SymbolIcon/Symbol */,
                                            // Source ..\..\..\..\..\..\..\TestTap.Shared\UserControls\TestUserControl.xaml (Line 28:22)
                                        }
                                        .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler3)(c7 =>
                                        {
                                            global::Uno.UI.FrameworkElementHelper.SetBaseUri(c7, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                                            c7.CreationComplete();
                                        }
                                                                                                                                                                                            ))
                                        ,
                                    }
                                    .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler4)(c8 =>
                                    {
                                        nameScope.RegisterName("DeleteCommandUx", c8);
                                        this.DeleteCommandUx = c8;
                                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c8, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                                        c8.CreationComplete();
                                    }
                                                                                                                                                                                        ))
                                    ,
                                }
                            }
                            .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler2)(c9 =>
                            {
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c9, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                                c9.CreationComplete();
                            }
                                                                                                                                                                                ))
                            ,
                        }
                    }
                    .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler5)(c10 =>
                    {
                        global::Windows.UI.Xaml.Controls.Grid.SetColumn(c10, 1 /* int/, 1, Grid/Column */);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c10, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                        c10.CreationComplete();
                    }
                                                                                                                                                                        ))
                    ,
                }
            }
            .TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebb_XamlApply((TestUserControl_8cf5c7f67498ecc723fd3d5752d1eebbXamlApplyExtensions.XamlApplyHandler5)(c11 =>
            {
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c11, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                c11.CreationComplete();
            }
                                                                                                                                                                ))
            ;

            this
            .Apply((c12 =>
            {
                // Source C:\MSP\2018\Uno\Git\TestTap\TestTap.Shared\UserControls\TestUserControl.xaml (Line 1:2)

                // WARNING Property c12.base does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}UserControl, the namespace is http://www.w3.org/XML/1998/namespace. This error was considered irrelevant by the XamlFileGenerator
            }
                    ))
            .Apply((c13 =>
            {
                // Class TestTap.Shared.UserControls.TestUserControl
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c13, "file:///C:/MSP/2018/Uno/Git/TestTap/TestTap.Shared/UserControls/TestUserControl.xaml");
                c13.CreationComplete();
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
        }
Example #4
0
        private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            // Source ..\..\..\..\..\..\..\TestConsoleDead.Shared\MainPage.xaml (Line 1:2)
            Content = new global::Windows.UI.Xaml.Controls.Grid
            {
                // Source ..\..\..\..\..\..\..\TestConsoleDead.Shared\MainPage.xaml (Line 10:6)
                Children =
                {
                    new global::Windows.UI.Xaml.Controls.TextBlock
                    {
                        Text     = "Hello, world!" /* string/, Hello, world!, TextBlock/Text */,
                        Margin   = new global::Windows.UI.Xaml.Thickness(20) /* Windows.UI.Xaml.Thickness/, 20, TextBlock/Margin */,
                        FontSize = 30d /* double/, 30, TextBlock/FontSize */,
                        // Source ..\..\..\..\..\..\..\TestConsoleDead.Shared\MainPage.xaml (Line 11:4)
                    }
                    .MainPage_1af45d0e25e9e21a3e63b7013f0c6f21_XamlApply((MainPage_1af45d0e25e9e21a3e63b7013f0c6f21XamlApplyExtensions.XamlApplyHandler0)(c0 =>
                    {
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c0, "file:///C:/Users/Nineleaps-user/source/repos/TestConsoleDead/TestConsoleDead.Shared/MainPage.xaml");
                    }
                                                                                                                                                          ))
                    ,
                    new global::TestConsoleDead.Shared.GenericControl(skipsInitializeComponents: true).GetContent()
                    .Apply((c1 =>
                    {
                        // Source ..\..\..\..\..\..\..\TestConsoleDead.Shared\MainPage.xaml (Line 12:10)
                    }
                            ))
                    ,
                    new global::Windows.UI.Xaml.Controls.Button
                    {
                        Name = "create",
                        // Source ..\..\..\..\..\..\..\TestConsoleDead.Shared\MainPage.xaml (Line 14:10)
                    }
                    .MainPage_1af45d0e25e9e21a3e63b7013f0c6f21_XamlApply((MainPage_1af45d0e25e9e21a3e63b7013f0c6f21XamlApplyExtensions.XamlApplyHandler1)(c2 =>
                    {
                        nameScope.RegisterName("create", c2);
                        this.create             = c2;
                        var Click_clickBtn_That = (this as global::Uno.UI.DataBinding.IWeakReferenceProvider).WeakReference;
                        c2.Click += (clickBtn_sender, clickBtn_e) => (Click_clickBtn_That.Target as MainPage)?.clickBtn(clickBtn_sender, clickBtn_e);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c2, "file:///C:/Users/Nineleaps-user/source/repos/TestConsoleDead/TestConsoleDead.Shared/MainPage.xaml");
                    }
                                                                                                                                                          ))
                    ,
                }
            }
            .MainPage_1af45d0e25e9e21a3e63b7013f0c6f21_XamlApply((MainPage_1af45d0e25e9e21a3e63b7013f0c6f21XamlApplyExtensions.XamlApplyHandler2)(c3 =>
            {
                c3.Background = (global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(Windows.UI.Xaml.Media.Brush), global::Uno.UI.GlobalStaticResources.ApplicationPageBackgroundThemeBrush) is Windows.UI.Xaml.Media.Brush c4 ? c4 : default(Windows.UI.Xaml.Media.Brush));

                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c3, "file:///C:/Users/Nineleaps-user/source/repos/TestConsoleDead/TestConsoleDead.Shared/MainPage.xaml");
            }
                                                                                                                                                  ))
            ;

            this
            .Apply((c5 =>
            {
                // Source C:\Users\Nineleaps-user\source\repos\TestConsoleDead\TestConsoleDead.Shared\MainPage.xaml (Line 1:2)

                // WARNING Property c5.base does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}Page, the namespace is http://www.w3.org/XML/1998/namespace. This error was considered irrelevant by the XamlFileGenerator
            }
                    ))
            .Apply((c6 =>
            {
                // Class TestConsoleDead.MainPage
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c6, "file:///C:/Users/Nineleaps-user/source/repos/TestConsoleDead/TestConsoleDead.Shared/MainPage.xaml");
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
        }
        private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            IsParsing = true
            ;
            // Source ..\..\..\..\..\..\..\Uno_Minecraft.Shared\MainPage.xaml (Line 1:2)
            Content =
                new global::Windows.UI.Xaml.Controls.Grid
            {
                IsParsing = true
                ,
                // Source ..\..\..\..\..\..\..\Uno_Minecraft.Shared\MainPage.xaml (Line 10:6)
                Children =
                {
                    new global::Windows.UI.Xaml.Controls.TextBlock
                    {
                        IsParsing = true
                        ,
                        Text     = "Minecraft with UnoPlatform" /* string/, Minecraft with UnoPlatform, TextBlock/Text */,
                        Margin   = new global::Windows.UI.Xaml.Thickness(20) /* Windows.UI.Xaml.Thickness/, 20, TextBlock/Margin */,
                        FontSize = 30d /* double/, 30, TextBlock/FontSize */,
                        // Source ..\..\..\..\..\..\..\Uno_Minecraft.Shared\MainPage.xaml (Line 11:10)
                    }
                    .MainPage_6ad3a521e1cedd245818d415c6f77c18_XamlApply((MainPage_6ad3a521e1cedd245818d415c6f77c18XamlApplyExtensions.XamlApplyHandler0)(c0 =>
                    {
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c0, "file:///F:/GitHub/Minecraft_Automation/Uno_Minecraft/Uno_Minecraft/Uno_Minecraft.Shared/MainPage.xaml");
                        c0.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                    new global::Windows.UI.Xaml.Controls.Button
                    {
                        IsParsing = true
                        ,
                        Content = @"Send" /* object/, Send, Button/Content */,
                        // Source ..\..\..\..\..\..\..\Uno_Minecraft.Shared\MainPage.xaml (Line 12:10)
                    }
                    .MainPage_6ad3a521e1cedd245818d415c6f77c18_XamlApply((MainPage_6ad3a521e1cedd245818d415c6f77c18XamlApplyExtensions.XamlApplyHandler1)(c1 =>
                    {
                        var Click_Send_That = (this as global::Uno.UI.DataBinding.IWeakReferenceProvider).WeakReference;
                        c1.Click           += (Send_sender, Send_e) => (Click_Send_That.Target as MainPage)?.Send(Send_sender, Send_e);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c1, "file:///F:/GitHub/Minecraft_Automation/Uno_Minecraft/Uno_Minecraft/Uno_Minecraft.Shared/MainPage.xaml");
                        c1.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                    new global::Windows.UI.Xaml.Controls.TextBlock
                    {
                        IsParsing = true
                        ,
                        Name     = "textBlock",
                        Text     = "" /* string/, , TextBlock/Text */,
                        Margin   = new global::Windows.UI.Xaml.Thickness(20) /* Windows.UI.Xaml.Thickness/, 20, TextBlock/Margin */,
                        FontSize = 12d /* double/, 12, TextBlock/FontSize */,
                        // Source ..\..\..\..\..\..\..\Uno_Minecraft.Shared\MainPage.xaml (Line 13:10)
                    }
                    .MainPage_6ad3a521e1cedd245818d415c6f77c18_XamlApply((MainPage_6ad3a521e1cedd245818d415c6f77c18XamlApplyExtensions.XamlApplyHandler0)(c2 =>
                    {
                        nameScope.RegisterName("textBlock", c2);
                        this.textBlock = c2;
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c2, "file:///F:/GitHub/Minecraft_Automation/Uno_Minecraft/Uno_Minecraft/Uno_Minecraft.Shared/MainPage.xaml");
                        c2.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                }
            }
            .MainPage_6ad3a521e1cedd245818d415c6f77c18_XamlApply((MainPage_6ad3a521e1cedd245818d415c6f77c18XamlApplyExtensions.XamlApplyHandler2)(c3 =>
            {
                global::Uno.UI.ResourceResolver.ApplyResource(c3, global::Windows.UI.Xaml.Controls.Grid.BackgroundProperty, "ApplicationPageBackgroundThemeBrush", isThemeResourceExtension: true, context: global::Uno_Minecraft.Droid.GlobalStaticResources.__ParseContext_);
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c3, "file:///F:/GitHub/Minecraft_Automation/Uno_Minecraft/Uno_Minecraft/Uno_Minecraft.Shared/MainPage.xaml");
                c3.CreationComplete();
            }
                                                                                                                                                  ))
            ;

            this
            .Apply((c4 =>
            {
                // Source F:\GitHub\Minecraft_Automation\Uno_Minecraft\Uno_Minecraft\Uno_Minecraft.Shared\MainPage.xaml (Line 1:2)

                // WARNING Property c4.base does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}Page, the namespace is http://www.w3.org/XML/1998/namespace. This error was considered irrelevant by the XamlFileGenerator
            }
                    ))
            .Apply((c5 =>
            {
                // Class Uno_Minecraft.MainPage
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c5, "file:///F:/GitHub/Minecraft_Automation/Uno_Minecraft/Uno_Minecraft/Uno_Minecraft.Shared/MainPage.xaml");
                c5.CreationComplete();
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
        }
Example #6
0
        private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            IsParsing = true
            ;
            // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 1:2)
            Content =
                new global::Windows.UI.Xaml.Controls.Grid
            {
                IsParsing = true
                ,
                RowDefinitions =
                {
                    new global::Windows.UI.Xaml.Controls.RowDefinition
                    {
                        Height = new Windows.UI.Xaml.GridLength(50f, Windows.UI.Xaml.GridUnitType.Pixel) /* Windows.UI.Xaml.GridLength/, 50, RowDefinition/Height */,
                        // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 13:8)
                    }
                    ,
                    new global::Windows.UI.Xaml.Controls.RowDefinition
                    {
                        Height = new Windows.UI.Xaml.GridLength(1f, Windows.UI.Xaml.GridUnitType.Star) /* Windows.UI.Xaml.GridLength/, *, RowDefinition/Height */,
                        // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 14:8)
                    }
                    ,
                    new global::Windows.UI.Xaml.Controls.RowDefinition
                    {
                        Height = new Windows.UI.Xaml.GridLength(300f, Windows.UI.Xaml.GridUnitType.Pixel) /* Windows.UI.Xaml.GridLength/, 300, RowDefinition/Height */,
                        // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 15:8)
                    }
                    ,
                }

                ,
                ColumnDefinitions =
                {
                    new global::Windows.UI.Xaml.Controls.ColumnDefinition
                    {
                        Width = new Windows.UI.Xaml.GridLength(200f, Windows.UI.Xaml.GridUnitType.Pixel) /* Windows.UI.Xaml.GridLength/, 200, ColumnDefinition/Width */,
                        // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 18:8)
                    }
                    ,
                    new global::Windows.UI.Xaml.Controls.ColumnDefinition
                    {
                        Width = new Windows.UI.Xaml.GridLength(1f, Windows.UI.Xaml.GridUnitType.Star) /* Windows.UI.Xaml.GridLength/, *, ColumnDefinition/Width */,
                        // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 19:8)
                    }
                    ,
                }

                ,
                // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 11:4)
                Children =
                {
                    new global::Windows.UI.Xaml.Controls.StackPanel
                    {
                        IsParsing = true
                        ,
                        Orientation = global::Windows.UI.Xaml.Controls.Orientation.Horizontal /* Windows.UI.Xaml.Controls.Orientation/, Horizontal, StackPanel/Orientation */,
                        // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 21:6)
                        Children =
                        {
                            new global::Windows.UI.Xaml.Controls.Button
                            {
                                IsParsing = true
                                ,
                                Name = "Open",
                                // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 22:8)
                                Content = "Open"
                                ,
                            }
                            .MainPage_77666adaa098a2b86ef8a14e7904941d_XamlApply((MainPage_77666adaa098a2b86ef8a14e7904941dXamlApplyExtensions.XamlApplyHandler2)(c5 =>
                            {
                                nameScope.RegisterName("Open", c5);
                                this.Open = c5;
                                global::Windows.UI.Xaml.Controls.Grid.SetColumn(c5, 0 /* int/, 0, Grid/Column */);
                                var Click_ButtonOpen_That = (this as global::Uno.UI.DataBinding.IWeakReferenceProvider).WeakReference;
                                c5.Click += (ButtonOpen_sender, ButtonOpen_e) => (Click_ButtonOpen_That.Target as MainPage)?.ButtonOpen(ButtonOpen_sender, ButtonOpen_e);
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c5, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/MainPage.xaml");
                                c5.CreationComplete();
                            }
                                                                                                                                                                  ))
                            ,
                            new global::Windows.UI.Xaml.Controls.Button
                            {
                                IsParsing = true
                                ,
                                Name = "OpenFolder",
                                // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 23:8)
                                Content = "Open Folder"
                                ,
                            }
                            .MainPage_77666adaa098a2b86ef8a14e7904941d_XamlApply((MainPage_77666adaa098a2b86ef8a14e7904941dXamlApplyExtensions.XamlApplyHandler2)(c6 =>
                            {
                                nameScope.RegisterName("OpenFolder", c6);
                                this.OpenFolder = c6;
                                global::Windows.UI.Xaml.Controls.Grid.SetColumn(c6, 0 /* int/, 0, Grid/Column */);
                                var Click_Openfolder_That = (this as global::Uno.UI.DataBinding.IWeakReferenceProvider).WeakReference;
                                c6.Click += (Openfolder_sender, Openfolder_e) => (Click_Openfolder_That.Target as MainPage)?.Openfolder(Openfolder_sender, Openfolder_e);
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c6, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/MainPage.xaml");
                                c6.CreationComplete();
                            }
                                                                                                                                                                  ))
                            ,
                            new global::Windows.UI.Xaml.Controls.Button
                            {
                                IsParsing = true
                                ,
                                Name = "Save",
                                // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 24:8)
                                Content = "Save"
                                ,
                            }
                            .MainPage_77666adaa098a2b86ef8a14e7904941d_XamlApply((MainPage_77666adaa098a2b86ef8a14e7904941dXamlApplyExtensions.XamlApplyHandler2)(c7 =>
                            {
                                nameScope.RegisterName("Save", c7);
                                this.Save = c7;
                                global::Windows.UI.Xaml.Controls.Grid.SetColumn(c7, 0 /* int/, 0, Grid/Column */);
                                var Click_Savefile_That = (this as global::Uno.UI.DataBinding.IWeakReferenceProvider).WeakReference;
                                c7.Click += (Savefile_sender, Savefile_e) => (Click_Savefile_That.Target as MainPage)?.Savefile(Savefile_sender, Savefile_e);
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c7, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/MainPage.xaml");
                                c7.CreationComplete();
                            }
                                                                                                                                                                  ))
                            ,
                        }
                    }
                    .MainPage_77666adaa098a2b86ef8a14e7904941d_XamlApply((MainPage_77666adaa098a2b86ef8a14e7904941dXamlApplyExtensions.XamlApplyHandler3)(c8 =>
                    {
                        global::Windows.UI.Xaml.Controls.Grid.SetColumn(c8, 0 /* int/, 0, Grid/Column */);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c8, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/MainPage.xaml");
                        c8.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                    new global::UnoEditor.Shared.Views.fileview
                    {
                        IsParsing = true
                        ,
                        Name = "fileviewer1",
                        // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 26:6)
                    }
                    .MainPage_77666adaa098a2b86ef8a14e7904941d_XamlApply((MainPage_77666adaa098a2b86ef8a14e7904941dXamlApplyExtensions.XamlApplyHandler4)(c9 =>
                    {
                        nameScope.RegisterName("fileviewer1", c9);
                        this.fileviewer1 = c9;
                        global::Windows.UI.Xaml.Controls.Grid.SetColumn(c9, 0 /* int/, 0, Grid/Column */);
                        global::Windows.UI.Xaml.Controls.Grid.SetRow(c9, 1 /* int/, 1, Grid/Row */);
                        global::Windows.UI.Xaml.Controls.Grid.SetRowSpan(c9, 2 /* int/, 2, Grid/RowSpan */);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c9, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/MainPage.xaml");
                        c9.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                    new global::UnoEditor.Shared.Views.Editor.Editor
                    {
                        IsParsing = true
                        ,
                        Name     = "editor1",
                        filepath = "E:\\test.js" /* string/, E:\test.js, Editor/filepath */,
                        // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 27:6)
                    }
                    .MainPage_77666adaa098a2b86ef8a14e7904941d_XamlApply((MainPage_77666adaa098a2b86ef8a14e7904941dXamlApplyExtensions.XamlApplyHandler5)(c10 =>
                    {
                        nameScope.RegisterName("editor1", c10);
                        this.editor1 = c10;
                        global::Windows.UI.Xaml.Controls.Grid.SetColumn(c10, 1 /* int/, 1, Grid/Column */);
                        global::Windows.UI.Xaml.Controls.Grid.SetRow(c10, 1 /* int/, 1, Grid/Row */);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c10, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/MainPage.xaml");
                        c10.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                    new global::UnoEditor.Shared.Views.Terminal2
                    {
                        IsParsing = true
                        ,
                        // Source ..\..\..\..\..\..\..\UnoEditor.Shared\MainPage.xaml (Line 28:6)
                    }
                    .MainPage_77666adaa098a2b86ef8a14e7904941d_XamlApply((MainPage_77666adaa098a2b86ef8a14e7904941dXamlApplyExtensions.XamlApplyHandler6)(c11 =>
                    {
                        global::Windows.UI.Xaml.Controls.Grid.SetColumn(c11, 1 /* int/, 1, Grid/Column */);
                        global::Windows.UI.Xaml.Controls.Grid.SetRow(c11, 2 /* int/, 2, Grid/Row */);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c11, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/MainPage.xaml");
                        c11.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                }
            }
            .MainPage_77666adaa098a2b86ef8a14e7904941d_XamlApply((MainPage_77666adaa098a2b86ef8a14e7904941dXamlApplyExtensions.XamlApplyHandler7)(c12 =>
            {
                global::Uno.UI.ResourceResolver.ApplyResource(c12, global::Windows.UI.Xaml.Controls.Grid.BackgroundProperty, "ApplicationPageBackgroundThemeBrush", isThemeResourceExtension: true, context: global::UnoEditor.Skia.Gtk.GlobalStaticResources.__ParseContext_);
                this._component_0 = c12;
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c12, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/MainPage.xaml");
                c12.CreationComplete();
            }
                                                                                                                                                  ))
            ;

            this
            .Apply((c13 =>
            {
                // Source E:\Reposs\UnoEditor\UnoEditor\UnoEditor.Shared\MainPage.xaml (Line 1:2)

                // WARNING Property c13.base does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}Page, the namespace is http://www.w3.org/XML/1998/namespace. This error was considered irrelevant by the XamlFileGenerator
            }
                    ))
            .Apply((c14 =>
            {
                // Class UnoEditor.MainPage
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c14, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/MainPage.xaml");
                c14.CreationComplete();
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
            Loading += delegate
            {
                _component_0.UpdateResourceBindings();
            }
            ;
        }
Example #7
0
        private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            IsParsing = true
            ;
            Resources =
                global::NDCOsloSpeakerList.Droid.GlobalStaticResources.Styles_ce0cf941d2aa098094ca10f41da69b7e_ResourceDictionary
            ;
            // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\MainPage.xaml (Line 1:2)
            Content =
                new global::Windows.UI.Xaml.Controls.Grid
            {
                IsParsing = true
                ,
                Resources =
                {
                    ["SpeakerList"] =
                        (global::Windows.UI.Xaml.ResourceDictionary.ResourceInitializer)(() =>
                                                                                         new global::NDCOsloSpeakerList.Shared.SpeakerList
                    {
                    // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\MainPage.xaml (Line 17:6)
                    }
                                                                                         )
                    ,
                },
                // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\MainPage.xaml (Line 14:3)
                Children =
                {
                    new global::Windows.UI.Xaml.Controls.Image
                    {
                        IsParsing = true
                        ,
                        Stretch = global::Windows.UI.Xaml.Media.Stretch.Fill /* Windows.UI.Xaml.Media.Stretch/, Fill, Image/Stretch */,
                        Source  = @"./Assets/front-oslo.jpg" /* Windows.UI.Xaml.Media.ImageSource/, ./Assets/front-oslo.jpg, Image/Source */,
                        // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\MainPage.xaml (Line 21:4)
                    }
                    .MainPage_0740db103bd65f88fe0cb6ed6ccadebb_XamlApply((MainPage_0740db103bd65f88fe0cb6ed6ccadebbXamlApplyExtensions.XamlApplyHandler0)(c0 =>
                    {
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c0, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/MainPage.xaml");
                        c0.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                    new global::Windows.UI.Xaml.Controls.TextBlock
                    {
                        IsParsing = true
                        ,
                        Text     = "Hello, NDC!" /* string/, Hello, NDC!, TextBlock/Text */,
                        Margin   = new global::Windows.UI.Xaml.Thickness(20) /* Windows.UI.Xaml.Thickness/, 20, TextBlock/Margin */,
                        FontSize = 30d /* double/, 30, TextBlock/FontSize */,
                        // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\MainPage.xaml (Line 23:4)
                    }
                    .MainPage_0740db103bd65f88fe0cb6ed6ccadebb_XamlApply((MainPage_0740db103bd65f88fe0cb6ed6ccadebbXamlApplyExtensions.XamlApplyHandler1)(c1 =>
                    {
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c1, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/MainPage.xaml");
                        c1.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                    new global::Windows.UI.Xaml.Controls.ListView
                    {
                        IsParsing = true
                        ,
                        Name = "speakerListView",
                        IsItemClickEnabled  = true /* bool/, True, ListView/IsItemClickEnabled */,
                        HorizontalAlignment = global::Windows.UI.Xaml.HorizontalAlignment.Center /* Windows.UI.Xaml.HorizontalAlignment/, Center, ListView/HorizontalAlignment */,
                        VerticalAlignment   = global::Windows.UI.Xaml.VerticalAlignment.Center /* Windows.UI.Xaml.VerticalAlignment/, Center, ListView/VerticalAlignment */,
                        ItemTemplate        = new global::Windows.UI.Xaml.DataTemplate(() => new _MainPage_0740db103bd65f88fe0cb6ed6ccadebb_NDCOsloSpeakerListMainPageSC0().Build()
                                                                                       ),
                        // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\MainPage.xaml (Line 25:4)
                    }
                    .MainPage_0740db103bd65f88fe0cb6ed6ccadebb_XamlApply((MainPage_0740db103bd65f88fe0cb6ed6ccadebbXamlApplyExtensions.XamlApplyHandler2)(c2 =>
                    {
                        nameScope.RegisterName("speakerListView", c2);
                        this.speakerListView = c2;
                        c2.SetBinding(global::Windows.UI.Xaml.Controls.ListView.ItemsSourceProperty, new Windows.UI.Xaml.Data.Binding{
                            Source = global::Uno.UI.ResourceResolver.ResolveResourceStatic <object>("SpeakerList", context: global::NDCOsloSpeakerList.Droid.GlobalStaticResources.__ParseContext_), Path = @"Speakers"                                                                                                                                  /* Windows.UI.Xaml.PropertyPath/Windows.UI.Xaml.PropertyPath, Speakers, Binding/Path */
                        });
                        var ItemClick_SpeakerList_ItemClick_That = (this as global::Uno.UI.DataBinding.IWeakReferenceProvider).WeakReference;
                        c2.ItemClick += (SpeakerList_ItemClick_sender, SpeakerList_ItemClick_e) => (ItemClick_SpeakerList_ItemClick_That.Target as MainPage)?.SpeakerList_ItemClick(SpeakerList_ItemClick_sender, SpeakerList_ItemClick_e);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c2, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/MainPage.xaml");
                        c2.CreationComplete();
                    }
                                                                                                                                                          ))
                    ,
                }
            }
            .MainPage_0740db103bd65f88fe0cb6ed6ccadebb_XamlApply((MainPage_0740db103bd65f88fe0cb6ed6ccadebbXamlApplyExtensions.XamlApplyHandler3)(c3 =>
            {
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c3, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/MainPage.xaml");
                c3.CreationComplete();
            }
                                                                                                                                                  ))
            ;

            this
            .Apply((c4 =>
            {
                // Source C:\Users\mkwwh\source\repos\NDCOsloSpeakerList\NDCOsloSpeakerList\NDCOsloSpeakerList.Shared\MainPage.xaml (Line 1:2)

                // WARNING Property c4.base does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}Page, the namespace is http://www.w3.org/XML/1998/namespace. This error was considered irrelevant by the XamlFileGenerator
            }
                    ))
            .Apply((c5 =>
            {
                // Class NDCOsloSpeakerList.MainPage
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c5, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/MainPage.xaml");
                c5.CreationComplete();
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
        }
        private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            IsParsing = true
            ;
            // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 1:2)
            Content =
                new global::Windows.UI.Xaml.Controls.Grid
            {
                IsParsing = true
                ,
                // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 11:3)
                Children =
                {
                    new global::Windows.UI.Xaml.Controls.Image
                    {
                        IsParsing = true
                        ,
                        Stretch = global::Windows.UI.Xaml.Media.Stretch.Fill /* Windows.UI.Xaml.Media.Stretch/, Fill, Image/Stretch */,
                        Source  = @"./Assets/front-oslo.jpg" /* Windows.UI.Xaml.Media.ImageSource/, ./Assets/front-oslo.jpg, Image/Source */,
                        // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 13:4)
                    }
                    .SpeakerDetails_6ad2794c0eaff43434989350cff05fb7_XamlApply((SpeakerDetails_6ad2794c0eaff43434989350cff05fb7XamlApplyExtensions.XamlApplyHandler0)(c0 =>
                    {
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c0, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/SpeakerDetails.xaml");
                        c0.CreationComplete();
                    }
                                                                                                                                                                      ))
                    ,
                    new global::Windows.UI.Xaml.Controls.StackPanel
                    {
                        IsParsing = true
                        ,
                        VerticalAlignment   = global::Windows.UI.Xaml.VerticalAlignment.Center /* Windows.UI.Xaml.VerticalAlignment/, Center, StackPanel/VerticalAlignment */,
                        HorizontalAlignment = global::Windows.UI.Xaml.HorizontalAlignment.Center /* Windows.UI.Xaml.HorizontalAlignment/, Center, StackPanel/HorizontalAlignment */,
                        // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 15:4)
                        Children =
                        {
                            new global::Windows.UI.Xaml.Controls.TextBlock
                            {
                                IsParsing = true
                                ,
                                Name                = "SpeakerName",
                                Margin              = new global::Windows.UI.Xaml.Thickness(10) /* Windows.UI.Xaml.Thickness/, 10, TextBlock/Margin */,
                                FontWeight          = FontWeights.Bold /* Windows.UI.Text.FontWeight/, Bold, TextBlock/FontWeight */,
                                FontSize            = 50d /* double/, 50, TextBlock/FontSize */,
                                HorizontalAlignment = global::Windows.UI.Xaml.HorizontalAlignment.Center /* Windows.UI.Xaml.HorizontalAlignment/, Center, TextBlock/HorizontalAlignment */,
                                // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 16:5)
                            }
                            .SpeakerDetails_6ad2794c0eaff43434989350cff05fb7_XamlApply((SpeakerDetails_6ad2794c0eaff43434989350cff05fb7XamlApplyExtensions.XamlApplyHandler1)(c1 =>
                            {
                                nameScope.RegisterName("SpeakerName", c1);
                                this.SpeakerName = c1;
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c1, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/SpeakerDetails.xaml");
                                c1.CreationComplete();
                            }
                                                                                                                                                                              ))
                            ,
                            new global::Windows.UI.Xaml.Controls.Image
                            {
                                IsParsing = true
                                ,
                                Name   = "SpeakerImage",
                                Margin = new global::Windows.UI.Xaml.Thickness(10) /* Windows.UI.Xaml.Thickness/, 10, Image/Margin */,
                                Height = 300d /* double/, 300, Image/Height */,
                                Width  = 300d /* double/, 300, Image/Width */,
                                HorizontalAlignment = global::Windows.UI.Xaml.HorizontalAlignment.Center /* Windows.UI.Xaml.HorizontalAlignment/, Center, Image/HorizontalAlignment */,
                                // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 17:5)
                            }
                            .SpeakerDetails_6ad2794c0eaff43434989350cff05fb7_XamlApply((SpeakerDetails_6ad2794c0eaff43434989350cff05fb7XamlApplyExtensions.XamlApplyHandler0)(c2 =>
                            {
                                nameScope.RegisterName("SpeakerImage", c2);
                                this.SpeakerImage = c2;
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c2, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/SpeakerDetails.xaml");
                                c2.CreationComplete();
                            }
                                                                                                                                                                              ))
                            ,
                            new global::Windows.UI.Xaml.Controls.TextBlock
                            {
                                IsParsing = true
                                ,
                                Name                = "SessionTitle",
                                Margin              = new global::Windows.UI.Xaml.Thickness(10) /* Windows.UI.Xaml.Thickness/, 10, TextBlock/Margin */,
                                FontSize            = 30d /* double/, 30, TextBlock/FontSize */,
                                MaxWidth            = 500d /* double/, 500, TextBlock/MaxWidth */,
                                TextWrapping        = global::Windows.UI.Xaml.TextWrapping.Wrap /* Windows.UI.Xaml.TextWrapping/, Wrap, TextBlock/TextWrapping */,
                                HorizontalAlignment = global::Windows.UI.Xaml.HorizontalAlignment.Center /* Windows.UI.Xaml.HorizontalAlignment/, Center, TextBlock/HorizontalAlignment */,
                                // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 18:5)
                            }
                            .SpeakerDetails_6ad2794c0eaff43434989350cff05fb7_XamlApply((SpeakerDetails_6ad2794c0eaff43434989350cff05fb7XamlApplyExtensions.XamlApplyHandler1)(c3 =>
                            {
                                nameScope.RegisterName("SessionTitle", c3);
                                this.SessionTitle = c3;
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c3, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/SpeakerDetails.xaml");
                                c3.CreationComplete();
                            }
                                                                                                                                                                              ))
                            ,
                            new global::Windows.UI.Xaml.Controls.TextBlock
                            {
                                IsParsing = true
                                ,
                                Name                = "SessionSummary",
                                Margin              = new global::Windows.UI.Xaml.Thickness(10) /* Windows.UI.Xaml.Thickness/, 10, TextBlock/Margin */,
                                MaxWidth            = 500d /* double/, 500, TextBlock/MaxWidth */,
                                TextWrapping        = global::Windows.UI.Xaml.TextWrapping.Wrap /* Windows.UI.Xaml.TextWrapping/, Wrap, TextBlock/TextWrapping */,
                                HorizontalAlignment = global::Windows.UI.Xaml.HorizontalAlignment.Center /* Windows.UI.Xaml.HorizontalAlignment/, Center, TextBlock/HorizontalAlignment */,
                                // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 19:5)
                            }
                            .SpeakerDetails_6ad2794c0eaff43434989350cff05fb7_XamlApply((SpeakerDetails_6ad2794c0eaff43434989350cff05fb7XamlApplyExtensions.XamlApplyHandler1)(c4 =>
                            {
                                nameScope.RegisterName("SessionSummary", c4);
                                this.SessionSummary = c4;
                                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c4, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/SpeakerDetails.xaml");
                                c4.CreationComplete();
                            }
                                                                                                                                                                              ))
                            ,
                        }
                    }
                    .SpeakerDetails_6ad2794c0eaff43434989350cff05fb7_XamlApply((SpeakerDetails_6ad2794c0eaff43434989350cff05fb7XamlApplyExtensions.XamlApplyHandler2)(c5 =>
                    {
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c5, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/SpeakerDetails.xaml");
                        c5.CreationComplete();
                    }
                                                                                                                                                                      ))
                    ,
                    new global::Windows.UI.Xaml.Controls.Button
                    {
                        IsParsing = true
                        ,
                        Content           = @"Return to Speakers List" /* object/, Return to Speakers List, Button/Content */,
                        VerticalAlignment = global::Windows.UI.Xaml.VerticalAlignment.Bottom /* Windows.UI.Xaml.VerticalAlignment/, Bottom, Button/VerticalAlignment */,
                        // Source ..\..\..\..\..\..\..\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 21:4)
                    }
                    .SpeakerDetails_6ad2794c0eaff43434989350cff05fb7_XamlApply((SpeakerDetails_6ad2794c0eaff43434989350cff05fb7XamlApplyExtensions.XamlApplyHandler3)(c6 =>
                    {
                        var Click_SpeakerPage_Click_That = (this as global::Uno.UI.DataBinding.IWeakReferenceProvider).WeakReference;
                        c6.Click += (SpeakerPage_Click_sender, SpeakerPage_Click_e) => (Click_SpeakerPage_Click_That.Target as SpeakerDetails)?.SpeakerPage_Click(SpeakerPage_Click_sender, SpeakerPage_Click_e);
                        global::Uno.UI.FrameworkElementHelper.SetBaseUri(c6, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/SpeakerDetails.xaml");
                        c6.CreationComplete();
                    }
                                                                                                                                                                      ))
                    ,
                }
            }
            .SpeakerDetails_6ad2794c0eaff43434989350cff05fb7_XamlApply((SpeakerDetails_6ad2794c0eaff43434989350cff05fb7XamlApplyExtensions.XamlApplyHandler4)(c7 =>
            {
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c7, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/SpeakerDetails.xaml");
                c7.CreationComplete();
            }
                                                                                                                                                              ))
            ;

            this
            .Apply((c8 =>
            {
                // Source C:\Users\mkwwh\source\repos\NDCOsloSpeakerList\NDCOsloSpeakerList\NDCOsloSpeakerList.Shared\SpeakerDetails.xaml (Line 1:2)

                // WARNING Property c8.base does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}Page, the namespace is http://www.w3.org/XML/1998/namespace. This error was considered irrelevant by the XamlFileGenerator
            }
                    ))
            .Apply((c9 =>
            {
                // Class NDCOsloSpeakerList.Shared.SpeakerDetails
                global::Uno.UI.ResourceResolver.ApplyResource(c9, global::Windows.UI.Xaml.Controls.Page.BackgroundProperty, "ApplicationPageBackgroundThemeBrush", isThemeResourceExtension: true, context: global::NDCOsloSpeakerList.Droid.GlobalStaticResources.__ParseContext_);
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c9, "file:///C:/Users/mkwwh/source/repos/NDCOsloSpeakerList/NDCOsloSpeakerList/NDCOsloSpeakerList.Shared/SpeakerDetails.xaml");
                c9.CreationComplete();
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
        }
        private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            IsParsing = true
            ;
            Resources[typeof(global::Windows.UI.Xaml.Controls.TextBox)] =
                (global::Windows.UI.Xaml.ResourceDictionary.ResourceInitializer)(() =>
                                                                                 new global::Windows.UI.Xaml.Style(typeof(global::Windows.UI.Xaml.Controls.TextBox))
            {
                Setters =
                {
                    new global::Windows.UI.Xaml.Setter(global::Windows.UI.Xaml.Controls.TextBox.ForegroundProperty, (Windows.UI.Xaml.Media.Brush)SolidColorBrushHelper.White /* Windows.UI.Xaml.Media.Brush/Windows.UI.Xaml.Media.Brush, White, Setter/Value */),
                    new global::Windows.UI.Xaml.Setter(global::Windows.UI.Xaml.Controls.TextBox.BackgroundProperty, (Windows.UI.Xaml.Media.Brush)SolidColorBrushHelper.Black /* Windows.UI.Xaml.Media.Brush/Windows.UI.Xaml.Media.Brush, Black, Setter/Value */),
                }
            }
                                                                                 )
            ;
            // Source ..\..\..\..\..\..\..\UnoEditor.Shared\Views\Terminal2.xaml (Line 1:2)
            Content =
                new global::Windows.UI.Xaml.Controls.ScrollViewer
            {
                IsParsing = true
                ,
                // Source ..\..\..\..\..\..\..\UnoEditor.Shared\Views\Terminal2.xaml (Line 18:4)
                Content =
                    new global::Windows.UI.Xaml.Controls.StackPanel
                {
                    IsParsing = true
                    ,
                    // Source ..\..\..\..\..\..\..\UnoEditor.Shared\Views\Terminal2.xaml (Line 19:6)
                    Children =
                    {
                        new global::Windows.UI.Xaml.Controls.TextBlock
                        {
                            IsParsing = true
                            ,
                            Name       = "OutputBox",
                            Width      = double.NaN /* double/, auto, TextBlock/Width */,
                            Height     = double.NaN /* double/, auto, TextBlock/Height */,
                            FontFamily = new Windows.UI.Xaml.Media.FontFamily("Consolas") /* Windows.UI.Xaml.Media.FontFamily/, Consolas, TextBlock/FontFamily */,
                            FocusVisualPrimaryBrush   = SolidColorBrushHelper.Black /* Windows.UI.Xaml.Media.Brush/, Black, TextBlock/FocusVisualPrimaryBrush */,
                            IsTextSelectionEnabled    = true /* bool/, True, TextBlock/IsTextSelectionEnabled */,
                            FocusVisualSecondaryBrush = SolidColorBrushHelper.Black /* Windows.UI.Xaml.Media.Brush/, Black, TextBlock/FocusVisualSecondaryBrush */,
                            Foreground = SolidColorBrushHelper.White /* Windows.UI.Xaml.Media.Brush/, White, TextBlock/Foreground */,
                            SelectionHighlightColor = SolidColorBrushHelper.White /* Windows.UI.Xaml.Media.SolidColorBrush/, White, TextBlock/SelectionHighlightColor */,
                            // Source ..\..\..\..\..\..\..\UnoEditor.Shared\Views\Terminal2.xaml (Line 20:8)
                        }
                        .Terminal2_39ce92f6ec666afdd71a77b7216eb7b3_XamlApply((Terminal2_39ce92f6ec666afdd71a77b7216eb7b3XamlApplyExtensions.XamlApplyHandler0)(c0 =>
                        {
                            nameScope.RegisterName("OutputBox", c0);
                            this.OutputBox = c0;
                            c0.SetBinding(global::Windows.UI.Xaml.Controls.TextBlock.TextProperty, new Windows.UI.Xaml.Data.Binding{
                                Mode = global::Windows.UI.Xaml.Data.BindingMode.OneWay /* Windows.UI.Xaml.Data.BindingMode/Windows.UI.Xaml.Data.BindingMode, OneWay, Bind/Mode */,
                            }.Apply(___b => /*defaultBindModeOneTime*/ global::Uno.UI.Xaml.BindingHelper.SetBindingXBindProvider(___b, this, ___ctx => ___ctx is global::UnoEditor.Shared.Views.Terminal2 ___tctx ? (object)(___tctx.output) : null, null, new []{ "output"                                                                                                                                                                                                                                           })));
                            this._component_0 = c0;
                            global::Uno.UI.FrameworkElementHelper.SetBaseUri(c0, "file:///E:/Reposs/UnoEditor/UnoEditor/UnoEditor.Shared/Views/Terminal2.xaml");
                            c0.CreationComplete();
                        }
                                                                                                                                                                ))
                        ,
                        new global::Windows.UI.Xaml.Controls.Grid
                        {
                            IsParsing = true
                            ,
                            ColumnDefinitions =
                            {
                                new global::Windows.UI.Xaml.Controls.ColumnDefinition
                                {
                                    Width = new Windows.UI.Xaml.GridLength(1f, Windows.UI.Xaml.GridUnitType.Auto) /* Windows.UI.Xaml.GridLength/, auto, ColumnDefinition/Width */,
                                    // Source ..\..\..\..\..\..\..\UnoEditor.Shared\Views\Terminal2.xaml (Line 23:12)
                                }
                                ,
                                new global::Windows.UI.Xaml.Controls.ColumnDefinition
                                {
                                    Width = new Windows.UI.Xaml.GridLength(1f, Windows.UI.Xaml.GridUnitType.Star) /* Windows.UI.Xaml.GridLength/, *, ColumnDefinition/Width */,
                                    // Source ..\..\..\..\..\..\..\UnoEditor.Shared\Views\Terminal2.xaml (Line 24:12)
                                }
                                ,
                            }
Example #10
0
        private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 1:2)
            Content = new global::Windows.UI.Xaml.Controls.StackPanel
            {
                Padding = new global::Windows.UI.Xaml.Thickness(12),
                // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 12:6)
                Children =
                {
                    new global::Windows.UI.Xaml.Controls.ToggleSwitch
                    {
                        Name   = "toggle",
                        Header = @"Toggled?",
                        // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 13:10)
                    }
                    .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler0)(c0 =>
                    {
                        nameScope.RegisterName("toggle", c0);
                        this.toggle = c0;
                    }
                                                                                                                                                          ))
                    ,
                    new global::Windows.UI.Xaml.Controls.TextBlock
                    {
                        Name = "tb",
                        Text = "Empty",
                        // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 14:10)
                    }
                    .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler1)(c1 =>
                    {
                        nameScope.RegisterName("tb", c1);
                        this.tb = c1;
                    }
                                                                                                                                                          ))
                    ,
                    new global::Windows.UI.Xaml.Controls.Image
                    {
                        Name                = "image",
                        Stretch             = Windows.UI.Xaml.Media.Stretch.None,
                        HorizontalAlignment = Windows.UI.Xaml.HorizontalAlignment.Left,
                        // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 15:10)
                    }
                    .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler2)(c2 =>
                    {
                        nameScope.RegisterName("image", c2);
                        this.image          = c2;
                        var c2_collection_0 = Microsoft.Xaml.Interactivity.Interaction.GetBehaviors(c2);
                        c2_collection_0.Add(new global::Microsoft.Xaml.Interactions.Core.DataTriggerBehavior
                        {
                            Value = @"false",
                            // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 17:18)
                            Actions =
                            {
                                new global::Microsoft.Xaml.Interactions.Core.ChangePropertyAction
                                {
                                    PropertyName = @"Source",
                                    Value        = @"/Assets/checkbox_unchecked.png",
                                    // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 18:22)
                                }
                                .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler3)(c3 =>
                                {
                                    c3.SetBinding(global::Microsoft.Xaml.Interactions.Core.ChangePropertyAction.TargetObjectProperty, new Windows.UI.Xaml.Data.Binding{
                                        ElementName = _imageSubject
                                    });
                                }
                                                                                                                                                                      ))
                                ,
                                new global::Microsoft.Xaml.Interactions.Core.ChangePropertyAction
                                {
                                    PropertyName = @"Text",
                                    Value        = @"Unchecked",
                                    // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 19:22)
                                }
                                .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler3)(c4 =>
                                {
                                    c4.SetBinding(global::Microsoft.Xaml.Interactions.Core.ChangePropertyAction.TargetObjectProperty, new Windows.UI.Xaml.Data.Binding{
                                        ElementName = _tbSubject
                                    });
                                }
                                                                                                                                                                      ))
                                ,
                            }
                        }
                                            .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler4)(c5 =>
                        {
                            c5.SetBinding(global::Microsoft.Xaml.Interactions.Core.DataTriggerBehavior.BindingProperty, new Windows.UI.Xaml.Data.Binding{
                                ElementName = _toggleSubject, Path = @"IsOn"
                            });
                        }
                                                                                                                                                                                  ))
                                            );
                        c2_collection_0.Add(new global::Microsoft.Xaml.Interactions.Core.DataTriggerBehavior
                        {
                            Value = @"true",
                            // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 21:18)
                            Actions =
                            {
                                new global::Microsoft.Xaml.Interactions.Core.ChangePropertyAction
                                {
                                    PropertyName = @"Source",
                                    Value        = @"/Assets/checkbox_checked.png",
                                    // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 22:22)
                                }
                                .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler3)(c6 =>
                                {
                                    c6.SetBinding(global::Microsoft.Xaml.Interactions.Core.ChangePropertyAction.TargetObjectProperty, new Windows.UI.Xaml.Data.Binding{
                                        ElementName = _imageSubject
                                    });
                                }
                                                                                                                                                                      ))
                                ,
                                new global::Microsoft.Xaml.Interactions.Core.ChangePropertyAction
                                {
                                    PropertyName = @"Text",
                                    Value        = @"Checked",
                                    // Source ..\..\..\..\..\..\..\DTBImageSource.Shared\MainPage.xaml (Line 23:22)
                                }
                                .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler3)(c7 =>
                                {
                                    c7.SetBinding(global::Microsoft.Xaml.Interactions.Core.ChangePropertyAction.TargetObjectProperty, new Windows.UI.Xaml.Data.Binding{
                                        ElementName = _tbSubject
                                    });
                                }
                                                                                                                                                                      ))
                                ,
                            }
                        }
                                            .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler4)(c8 =>
                        {
                            c8.SetBinding(global::Microsoft.Xaml.Interactions.Core.DataTriggerBehavior.BindingProperty, new Windows.UI.Xaml.Data.Binding{
                                ElementName = _toggleSubject, Path = @"IsOn"
                            });
                        }
                                                                                                                                                                                  ))
                                            );
                    }
                                                                                                                                                          ))
                    ,
                }
            }
            .MainPage_358c5840d0f8bbfbb95a49e6ba26cb7a_XamlApply((MainPage_358c5840d0f8bbfbb95a49e6ba26cb7aXamlApplyExtensions.XamlApplyHandler5)(c9 =>
            {
                c9.Background = ((Windows.UI.Xaml.Media.Brush)global::Uno.UI.GlobalStaticResources.ApplicationPageBackgroundThemeBrush);
            }
                                                                                                                                                  ))
            ;

            this
            .Apply((c10 =>
            {
                // Source C:\Users\pdeco\source\repos\UnoRepros\DTBImageSource\DTBImageSource\DTBImageSource.Shared\MainPage.xaml (Line 1:2)
            }
                    ))
            .Apply((c11 =>
            {
                // Class DTBImageSource.MainPage
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
        }
Example #11
0
        private void InitializeComponent()
        {
            var nameScope = new global::Windows.UI.Xaml.NameScope();

            NameScope.SetNameScope(this, nameScope);
            IsParsing = true
            ;
            // Source ..\..\..\..\..\..\..\UnoAnimator.Shared\MainPage.xaml (Line 1:2)
            Content =
                new global::Windows.UI.Xaml.Controls.Grid
            {
                IsParsing = true
                ,
                Name           = "mainGrid",
                RowDefinitions =
                {
                    new global::Windows.UI.Xaml.Controls.RowDefinition
                    {
                        Height = new Windows.UI.Xaml.GridLength(30f, Windows.UI.Xaml.GridUnitType.Pixel) /* Windows.UI.Xaml.GridLength/, 30, RowDefinition/Height */,
                        // Source ..\..\..\..\..\..\..\UnoAnimator.Shared\MainPage.xaml (Line 13:14)
                    }
                    ,
                    new global::Windows.UI.Xaml.Controls.RowDefinition
                    {
                        Height = new Windows.UI.Xaml.GridLength(1f, Windows.UI.Xaml.GridUnitType.Star) /* Windows.UI.Xaml.GridLength/, *, RowDefinition/Height */,
                        // Source ..\..\..\..\..\..\..\UnoAnimator.Shared\MainPage.xaml (Line 14:14)
                    }
                    ,
                    new global::Windows.UI.Xaml.Controls.RowDefinition
                    {
                        Height = new Windows.UI.Xaml.GridLength(200f, Windows.UI.Xaml.GridUnitType.Pixel) /* Windows.UI.Xaml.GridLength/, 200, RowDefinition/Height */,
                        // Source ..\..\..\..\..\..\..\UnoAnimator.Shared\MainPage.xaml (Line 15:14)
                    }
                    ,
                }

                ,
                // Source ..\..\..\..\..\..\..\UnoAnimator.Shared\MainPage.xaml (Line 11:6)
            }
            .MainPage_ca270caa271156905f6d1d6364043437_XamlApply((MainPage_ca270caa271156905f6d1d6364043437XamlApplyExtensions.XamlApplyHandler1)(c3 =>
            {
                nameScope.RegisterName("mainGrid", c3);
                this.mainGrid = c3;
                global::Uno.UI.ResourceResolverSingleton.Instance.ApplyResource(c3, global::Windows.UI.Xaml.Controls.Grid.BackgroundProperty, "ApplicationPageBackgroundThemeBrush", isThemeResourceExtension: true, context: global::UnoAnimator.Wasm.GlobalStaticResources.__ParseContext_);
                this._component_0 = c3;
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c3, "file:///E:/Reposs/UnoAnimator/UnoAnimator/UnoAnimator/UnoAnimator/UnoAnimator.Shared/MainPage.xaml");
                c3.CreationComplete();
            }
                                                                                                                                                  ))
            ;

            this
            .Apply((c4 =>
            {
                // Source E:\Reposs\UnoAnimator\UnoAnimator\UnoAnimator\UnoAnimator\UnoAnimator.Shared\MainPage.xaml (Line 1:2)

                // WARNING Property c4.base does not exist on {http://schemas.microsoft.com/winfx/2006/xaml/presentation}Page, the namespace is http://www.w3.org/XML/1998/namespace. This error was considered irrelevant by the XamlFileGenerator
            }
                    ))
            .Apply((c5 =>
            {
                // Class UnoAnimator.MainPage
                global::Uno.UI.FrameworkElementHelper.SetBaseUri(c5, "file:///E:/Reposs/UnoAnimator/UnoAnimator/UnoAnimator/UnoAnimator/UnoAnimator.Shared/MainPage.xaml");
                c5.CreationComplete();
            }
                    ))
            ;
            OnInitializeCompleted();
            InitializeXamlOwner();
            Loading += delegate
            {
                _component_0.UpdateResourceBindings();
            }
            ;
        }