toolwindow titlebar includes image

Docking/MDI for WPF Forum

Posted 8 years ago by Mary Fontana - Rudolph Technologies
Avatar
I am using ToolWindowsHaveTitleBars="True" ToolWindowsTabPlacement="Bottom"
I programmatically create some tool windows in my application.
I would like to include the image that is displayed in the tab item to also be displayed in the title bar.

Comments (3)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mary,

You would have to retemplate the ToolWindowContainer to include the Image in the title bar. You can use our default Styles/ControlTemplates as a basis, and simply add an Image element where appropriate.


Actipro Software Support

Posted 8 years ago by Mary Fontana - Rudolph Technologies
Avatar
Thanks.
Where is the default style/control template for ToolWindowContainer?
I have the xamlstyles-source zip file.
Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mary,

It is in the "Docking\Themes\Docking\Common.xaml" file, around line 1450.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) 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.