Can't display WinForms SE in Switcher Preview Image

Docking/MDI for WPF Forum

Posted 10 years ago by Craig - Varigence, Inc.
Version: 9.1.0500
Avatar
I'm using the Actipro docking control, along with the WinForms SyntaxEditor, in a WPF app. I'm hitting an issue where the preview image in the switcher is always blank for the syntax editor. I have the SyntaxEditor within a WPF User control, where I've wrapped it in a WindowsFormsHost XAML element. I've been playing with OnSelectedWindowChanged in an extended StandardSwitcher class but I can't seem to grab any visual for the syntax editor. Is there a way to make the preview appear?

Thanks for your help,

-Craig

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Craig,

Sorry but Microsoft has stated that VisualBrushes (which is what we use there) on WinForms content isn't supported. See this post for info:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/619489f1-f590-4971-aa08-b08ca39b9395


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.