Some issues in Designer hosted in WPF application
Posted: Fri Aug 24, 2012 1:45 pm
Hello,
we have to use in our WPF application WinForm Designer hosted using WindowsFormsHost (WPF Designer is absolutely useless due to poor speed
). But it has some following bugs. You have to debug it on WPF Application with hosted Designer.
First is ignoring of Delete key. I can't delete object using keyboard. We aren't handling Key.Delete press event.
Second is unhandled exception which Designer throws when I press Enter on some StiText object.... Here is StackTrace:
Maybe this helps - http://stackoverflow.com/questions/1058 ... und-colors
we have to use in our WPF application WinForm Designer hosted using WindowsFormsHost (WPF Designer is absolutely useless due to poor speed

First is ignoring of Delete key. I can't delete object using keyboard. We aren't handling Key.Delete press event.
Second is unhandled exception which Designer throws when I press Enter on some StiText object.... Here is StackTrace:
Code: Select all
Control does not support transparent background colors.
at System.Windows.Forms.Control.set_BackColor(Color value)
at System.Windows.Forms.TextBoxBase.set_BackColor(Color value)
at Stimulsoft.Report.Design.Tools.StiTextEditorToolService.TextEditorOpen(StiComponent component)
at Stimulsoft.Report.Design.Tools.StiTextEditorToolService.StartTextEditor(StiComponent component)
at Stimulsoft.Report.Design.Controls.StiViewControl.OpenEditor(String str)
at Stimulsoft.Report.Design.Controls.StiViewControl.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()