Inheritance: System.Windows.Window
コード例 #1
0
ファイル: WindowBackend.cs プロジェクト: inorton/xwt
        public WindowBackend()
        {
            Window = new WpfWindow();
            Window.UseLayoutRounding = true;
            rootPanel  = CreateMainGrid();
            contentBox = new DockPanel();

            Window.Content = rootPanel;
            Grid.SetColumn(contentBox, 0);
            Grid.SetRow(contentBox, 1);
            rootPanel.Children.Add(contentBox);
        }
コード例 #2
0
ファイル: WindowBackend.cs プロジェクト: praveen9947/xwt
        public WindowBackend()
        {
            Window = new WpfWindow ();
            Window.UseLayoutRounding = true;
            rootPanel = CreateMainGrid ();
            contentBox = new DockPanel ();

            Window.Content = rootPanel;
            Grid.SetColumn (contentBox, 0);
            Grid.SetRow (contentBox, 1);
            rootPanel.Children.Add (contentBox);
        }