Jump to content

WPF - How to show ToolTip when control is disabled

Posted on:February 10, 2011 at 01:00 AM

By default the tooltip is hidden when a control is disabled. There is a simple way to enable it. Code below shows how to do that:

ToolTipService.SetShowOnDisabled(uxSampleButton, true);

So, as you can see the solution is not complicated :) and I hope this note will save other coders some time.

Download sample code: DisabledTooltipExample.zip