Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            // Get native control for the panel
            // passing true so that we can embed, otherwise we just get a reference to the control
            var nativeControl = new MyEtoPanel().ToNative(true);

            stackPanel.Children.Add(nativeControl);
        }
Exemplo n.º 2
0
		public MainWindow()
		{
			InitializeComponent();

			// Get native control for the panel
			// passing true so that we can embed, otherwise we just get a reference to the control
			var nativeControl = new MyEtoPanel().ToNative(true);

			stackPanel.Children.Add(nativeControl);

				
		}