Run8stud
Topic Author
Posts: 15
Joined: 15 Jun 2018, 21:06

Tooltips Enable\Disable

11 Jul 2018, 12:57

I've searched around and can't seem to find an answer...

I'd like to give our users a menu option to Enable or Disable seeing the Tooltips on the various controls. Is this possible in NoesisGUI?

Something like UserControl.DisableTooltips = true
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: Tooltips Enable\Disable

19 Jul 2018, 02:18

This can be achieved by adding a global Style for your application that makes all the ToolTips collapsed:
<Style TargetType="ToolTip">
  <Setter Property="Visibility" Value="Collapsed"/>
</Style>
And to re-enable them, just remove the style from the application dictionary.

Who is online

Users browsing this forum: Google [Bot], vinick and 66 guests