#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).  This default value actually comes from a registry setting–MouseHoverTime–that dictates this delay for all applications.

You can find the MouseHoverTime registry setting at: HKEY_CURRENT_USER\Control Panel\Mouse

862-001

 

You can change this registry setting by entering a new value for the delay (in milliseconds).  You’ll need to log out and back in before the setting will take effect.

If you change this setting, applications that do not explicitly specify a value for InitialShowDelay will pick up the new value from the registry.  Applications that explicitly set a value for InitialShowDelay will still use their explicit value.

#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  (default is 0.4 secs)
  • ShowDuration – how long to show a tooltip before hiding it (assuming that you don’t move the mouse)  (default is 5 secs)
  • BetweenShowDelay – how much time to allow for moving to another control when showing the tooltip on the second control without an initial delay  (default is 0.1 secs)

For example, assuming that you have a couple of buttons that show tooltips and these properties have default values:

  • You hover over the first button
  • After 0.4 secs, the tooltip shows up
  • If you wait 5 secs, the tooltip will disappear
  • If you move off the button, the tooltip disappears immediately
  • If you move to the second button within 0.1 secs, the first tooltip is quickly replaced by the second tooltip (no delay)

861-001