Udostępnij za pośrednictwem


How to: Delay the Display of a ToolTip

This example shows how to set a ToolTipService property that causes a brief delay before a ToolTip displays. You set the properties of the ToolTipService class by attaching them directly to the element that exposes the tooltip.

Example

   <TextBox HorizontalAlignment="Left" ToolTipService.InitialShowDelay="1500"
ToolTip="Useful information goes here.">
     ToolTip with delay
   </TextBox>

See Also

Tasks

How to: Create a ToolTip

Concepts

ToolTip Overview

Reference

ToolTip

ToolTipService

Other Resources

ToolTip How-to Topics