I have no problem with putting buttons etc in the tooltip but the tooltip closes when I navigate with my mouse to over the tooltip before I can click any buttons. How can I keep the tooltip open when I am hovering over it?
Thanks in advance.
This is actually no tooltip. It is a toolbar that is shown when you hover over it. This is very different! The tooltip is designed not to stand in your way: means if you move your mouse over it it's gone because you probably want to click something behind
Try using the popup control instead of the tooltip. It'll let you control when the menu is displayed. You could use an event trigger to open the popup, and have the popup close automatically when the user clicks outside of the popup.
ToolTip is hosted inside a Popup which in turn is rendered in a separate HwndSource, you should be able to mimic the ToolTip behaviour using Poup, and set its StaysOpen property to true as the following XAML illustrates:
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.