protected override Control CreateDefaultPaletteControl() { _viewModel = new ActionSequenceViewModel(); var view = new ActionSequenceView() { DataContext = _viewModel }; view.Margin = new Thickness(10); // http://stackoverflow.com/questions/592017/my-images-are-blurry-why-isnt-wpfs-snapstodevicepixels-working view.UseLayoutRounding = true; //for let wpf user control docked fully in the parent winform var formControl = WinFormsUtils.CreateElementHost(view); return(formControl); }