Add Taskbar Icon For Undocked Window

Docking/MDI for WPF Forum

Posted 11 years ago by Stuart Tapson
Version: 12.2.0570
Avatar

Hi

If I have a ToolWindow and I have dragged it out of its ToolWindowContainer, is it possible for that ToolWindow to have its own item in the Windows Taskbar?

Similar to how in Visual Studio 2010 if you drag a code window out onto another screen an additional Icon appears in the Taskbar, and when you hover over you can preview the open windows.

Thanks in advance

Stuart

Comments (2)

Answer - Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Stuart,

You'd have to override the DockSite.CreateRaftingWindow method and if the base method call's result is a Window, then set its ShowInTaskbar property to true.


Actipro Software Support

Posted 11 years ago by Stuart Tapson
Avatar

Thanks, that sounds perfect.

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.