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); }