Esempio n. 1
0
        public Page()
        {
            InitializeComponent();

            Row2.Children.Add(Logger);

            PanelFactory panelFactory = new ManagedStackPanelFactory();
            Grid         grid1        = CreateGrid(Orientation.Vertical, panelFactory);

            Canvas.SetLeft(grid1, 600);
            Canvas.SetTop(grid1, 10);
            Children.Add(grid1);

            Queue(() => {
                DumpLayoutTree(this);
            });
        }
Esempio n. 2
0
	public Page ()
	{
		InitializeComponent ();

		Row2.Children.Add (Logger);

		PanelFactory panelFactory = new ManagedStackPanelFactory ();
		Grid grid1 = CreateGrid(Orientation.Vertical, panelFactory);

		Canvas.SetLeft (grid1, 600);
		Canvas.SetTop (grid1, 10);
		Children.Add (grid1);

		Queue (()=> {
		           DumpLayoutTree (this);
		       });
	}