Add Taskbar Icon For Undocked Window

Docking/MDI for WPF Forum

Posted 12 years ago by Stuart Tapson
Version: 12.2.0570


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


Comments (2)

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

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 12 years ago by Stuart Tapson

Thanks, that sounds perfect.

The latest build of this product (v24.1.2) 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.