Pre loader

Is there something like a Tooltip timeout?

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
0
0

We implemented a custom TooltipModifier. We want to fade out the tooltip after a defined timespan if the mouse doesn’t move. Is there something predefined or how to implement this? It should be something like ToolTipService.ShowDuration from WPF.

  • You must to post comments
Best Answer
0
0

Hi Christian,

Thanks for your question. In our implementation of TooltipModifier, this behavior is implemented in code. We use a helper class which is basically a wrapper around DispatcherTimer. There is the HoverDelayProperty which stores the corresponding value.

So you could use this approach in your modifier. Add an additional property called ShowDuration and set up a timer when the tooltip is shown. In a timer’s callback just remove/hide a tooltip.

Hope this helps! Please let us know if you have any troubles with implementation of this behavior,

Best regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies