I'm struggling with getting an Icon to display on a ToolWindow.
I've set the ToolWindow ImageSource in my contructor but nothing appears. Is this possible?
I need to be able to do this programmatically and not in XAML.
I'm struggling with getting an Icon to display on a ToolWindow.
I've set the ToolWindow ImageSource in my contructor but nothing appears. Is this possible?
I need to be able to do this programmatically and not in XAML.
Hi Gareth,
The ToolWindow.ImageSource will generally only appear in certain UI places like on tabs and on the switcher, and it should work if set programmatically. There also is a DockSite option for hiding the images on tabs, which the ToolWindowsHaveImagesOnTabs property. Some themes like Metro themes set that to false by default, but you can force it to true to ensure the images always show on the tabs.
Please log in to a validated account to post comments.