Home > DeveloperSection > Interviews > Q: How do I get a ToolTip to appear when hovering over a disabled element?

Posted on    March-11-2011 12:00 AM

 1 Answer(s)
  1305  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    March-11-2011 1:00 AM

use the ShowOnDisabled attached property of theToolTipService class! From

XAML, this would look like the following on a Button:

<Button ToolTipService.ShowOnDisabled=”True”>


Or from C# code, you can call the static methodcorresponding to the attached property:

ToolTipService.SetShowOnDisabled(myButton, true);

Don't want to miss updates? Please click the below button!

Follow MindStick