Home > DeveloperSection > Blogs > ToolTip in WPF

ToolTip in WPF


WPF WPF 
Ratings:
0 Comment(s)
 1573  View(s)
Rate this:

ToolTip in WPF

In this blog I am trying to explain the concept of tool tip in WPF application.

ToolTip

A tooltip is a small pop-up window that appears when a user pauses the mouse pointer over an element, such as over a Button. This topic introduces the tooltip and discusses how to create and customize tooltip content.

What Is a Tooltip?

When a user moves the mouse pointer over an element that has a tooltip, a window that contains tooltip content (for example, text content that describes the function of a control) appears for a specified amount of time. If the user moves the mouse pointer away from the control, the window disappears because the tooltip content cannot receive focus.

Creating a ToolTip

<Button ToolTip="Click to submit your information"

        Click="SubmitCode" Height="20" Width="50">Submit</Button>

Note: - Above line of code show tooltip only on submit button

Output:-


Don't want to miss updates? Please click the below button!

Follow MindStick