Support for icons on ToolWindow titles

Docking/MDI for WPF Forum

Posted 8 years ago by Markus Springweiler
Avatar

Snoop shows no placeholder on TitleBarPanel left to the title-TextBlock so I assume there currently is no option "hidden" somewhere to enable this out of the box.

 

Can I change the topic title? ToolBar > ToolWindow

[Modified 8 years ago]

Comments (5)

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

Hi Markus,

No but in the next build, we're adding an option where you can align the tool window title bar contextual content to the left.  Please see this thread for details:

https://www.actiprosoftware.com/community/thread/23398/re-styling-a-document-like-a-toolwindow#111977%20

With that feature, you could put an icon in the contextual content.

[Modified 8 years ago]


Actipro Software Support

Posted 8 years ago by Markus Springweiler
Avatar

Hmm.. I would then need contextual content both to the left and to the right, since I already used the new possibility to add a context-help button to the regular buttons. I wonder if a system similar to PartEditBox would make sense, allowing to place addition content between the existing button order.

And of course the circle to "How do I bind from XXXContextContentTemplate to related DockingWindow" would raise again problems, since I would not be able to access the BitmapSource already assigned to the DockingWindow.

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

Hi Markus,

Are you just wanting to show the selected tool window's icon (ToolWindow.ImageSource) on the title bar?  If so, perhaps we just build in an option to show that, which defaults to false.  Would anything need to happen when you clicked it or is it display only?


Actipro Software Support

Posted 8 years ago by Markus Springweiler
Avatar

Yes, exactly: The icon should just be shown without any further interaction, the same way as on all other places where the icon is placed to the left of the title or tabtext string (auto hide tab items, etc.).

The default layout of the app does not nest or auto hide any toolwindows so currently the icon is not visible anywhere.

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

Hi Markus,

We'll add an option to display the icon of the selected tool window in its container's title bar for the next build.


Actipro Software Support

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.