Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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>
For the complete sample from which the previous example was extracted, see ToolTip Sample. For a more extensive sample that shows how to get and set the ToolTipService properties in markup and also by using code, see ToolTipService Sample.
See Also
Tasks
How to: Create a ToolTip
How to: Use the ContextMenuService