WPF - How to show ToolTip when control is disabled

Published on 10 February 2011

❗❗ I invite you to sign up for my DevNews newsletter 💌. DevNews is issued weekly and consist of carefully selected digest of tech-news from last week. Don't wait❗❗ Sign up today

By default tooltip is hidden when control is disabled. There is simple way to enable it. Code below show 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 some time other coders.

Download sample code: DisabledTooltipExample.zip

comments powered by Disqus