Quantcast
Browsing all 17 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

#372 – Defining Tooltips for GUI Elements

A tooltip is a small popup that appears when a user hovers the mouse pointer over some user interface element.  It’s typically used to provide further information about the element that the user hovers...

View Article


Image may be NSFW.
Clik here to view.

#373 – Creating More Complex Tooltips

You typically set a tooltip as a simple textual label, setting the value of the Tooltip property for a control to a text string.  You can also define a more complex tooltip that includes several...

View Article


Image may be NSFW.
Clik here to view.

#374 – Using a Tooltip to Display the Full Contents of a TextBox

It might often be the case that a TextBox control is not wide enough to display all of its text (the current value of its Text property). The user could click in the TextBox control and move the cursor...

View Article

Image may be NSFW.
Clik here to view.

#375 – Binding Something in a Tooltip to a Property on the Parent Control

You can use data binding to bind the value of a simple Tooltip property to some other property of the control.  But you might also want to use data binding when you create a Tooltip as a child element...

View Article

Image may be NSFW.
Clik here to view.

#376 – Getting Text to Wrap in a Tooltip

When you specify the value of a tooltip by setting the Tooltip property for a control, a popup window for the tooltip is created and the window contains a single label.  By default, this label does not...

View Article


Image may be NSFW.
Clik here to view.

#378 – Positioning Tooltips

There are several properties that dictate where a tooltip will be displayed. By default, the tooltip is positioned just below the mouse pointer, with its left edge lined up with the left side of the...

View Article

Image may be NSFW.
Clik here to view.

#379 – Using a Tooltip As a Magnifier

You can use a tooltip as a magnifier, so that when you hover over a control, it shows an enlarged view of the control. We define a tooltip to contain a Rectangle that is exactly twice the size of the...

View Article

Image may be NSFW.
Clik here to view.

#858 – How to Set Properties for a Tooltip

There are basically three different ways to specify tooltips.  The first is to just set the Tooltip property on the control where the tooltip should appear.  You set the property to the text that you...

View Article


Image may be NSFW.
Clik here to view.

#859 – Changing the Amount of Time That a ToolTip Is Shown For

By default, a ToolTip will be displayed for 5 seconds before automatically disappearing.  To change this value, set the ToolTipService.ShowDuration property on the element to which the tooltip is...

View Article


Image may be NSFW.
Clik here to view.

#860 – Making a Tooltip Partially Transparent

You’ll normally want your tooltips fully opaque so that the user can easily read the content on the tooltip.  However, there might be cases when you’d like the tooltip at least partially transparent,...

View Article

Image may be NSFW.
Clik here to view.

#861 – Tooltip Delays and Timing

Several properties of the TooltipService class affect timing of tooltips displayed for a control. InitialShowDelay – how long to wait after hovering over a control before popping up the tooltip...

View Article

Image may be NSFW.
Clik here to view.

#862 – Changing Default Tooltip Delay for all Applications

The TooltipService.InitialShowDelay allows you to set the amount of time that passes between when you first hover over a control and when a tooltip pops up.  This value defaults to 400 ms (0.4 secs)....

View Article

Image may be NSFW.
Clik here to view.

#863 – Tooltips Are Normally Not Shown when a Control Is Disabled

By default, a tooltip will not be shown if you hover over a control that is disabled.  This makes sense–if you can’t interact with a control, you probably don’t need to see whatever additional...

View Article


Image may be NSFW.
Clik here to view.

#864 – Changing the Look of a ToolTip with a Control Template

You can change the content of a ToolTip if you want it to display more than simple text.  If you want to go further and change the look of the ToolTip more completely, you can use a control template....

View Article

Image may be NSFW.
Clik here to view.

#865 – ToolTip Can Extend Beyond Window Boundaries

The ToolTip control is one of the few controls whose content is not clipped at the boundary of its container.  In fact, it can extend beyond the boundaries of an application’s window. Filed under:...

View Article


Image may be NSFW.
Clik here to view.

#873 – Using a Popup Rather than a Tooltip

Both Tooltips and Popup controls allow you to display a small popup window that contains some content.  Which one you use depends on what you need to accomplish with the popup window. In general, you...

View Article

Image may be NSFW.
Clik here to view.

#1,023 – Displaying a Tooltip that Shows the Value of a Slider

You can use the AutoToolTipPlacement property to automatically show a tooltip on a slider while the thumb is being dragged.  The tooltip will show the current Value of the slider. You can set...

View Article

Browsing all 17 articles
Browse latest View live