A few decades ago, a UI designer came up with a clever idea regarding how to show contextual help in the user interface. That idea, the tooltip, is now considered an essential part of a UX designer's tool bag. You see them in any modern interface; here is an example from Visual Studio 2010.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
When I hover the mouse over the toolbar button a little floating window pops up with explanatory text to clarify the purpose of the button. That's a tool tip, though I suspect you already knew that. In this example, you can see that the tool tip also explains that I can use the Ctrl+O key combination to open a file.WPF provides some interesting additions to the basic tool tip control, and that's what I want to discuss today. WPF contains a tool tip control. If you use it in the default mode it looks exactly like the screenshot above. By that I mean it shows a simple floating window with a light background and dark text. In WPF and Silverlight however we can re-template most controls. Let's start by looking at a basic tool tip in XAML.
Since I'm using the tool tip property of the button I'll get a simple TextBlock based tool tip.
Now let's add some alternate UI. I'll use the property element syntax to do this.
Adding some transparency
For the last example I'll add another interesting effect. I'm going to set the background of the tooltip to transparent and also adjust the opacity level of image. As a result, the tool tip will look like it has no borders and you'll be able to see the underlying UI through the tool tip.