Feature request: hover sensitivity

Topics: open request
Mar 23, 2011 at 11:47 AM

Hi,

To add to the already very useful features of your control, have you considered a hover sensitivity feature?

On a standard windows hover, the mouse must stay 'still' for a set time - ( in fact it must stay within a small area for a set time to allow for users with shaky hands!)

This would be a new property on the control to set a region size in pixels where the mouse would have to remain for the delay time before the tooltip was triggered.  I think in windows the standard is a 2 or 3 pixel square.

I think this would be a really slick feature and would set your control even further ahead of the standard silverlight tooltip.

Mar 24, 2011 at 12:37 PM

Hi, I have added a basic version of this myself without worrying about the sensitivity - I just reset the timer on mouse move so the pointer has to stay still for the delay time before the tooltip opens.

I added this method in the ToolTipTimer:

/// <summary>
/// Resets the timer tick count.
/// </summary>
public void Reset()
{
	CurrentTick = 0;
}

And this in the ToolTipService OnRootVisualMouseMove:

if( CurrentToolTip.Timer != null && CurrentToolTip.Timer.IsEnabled )
{
	CurrentToolTip.Timer.Reset();
}

Cheers

Trystan

Coordinator
Apr 7, 2011 at 7:51 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.