<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="WPF" Height="150" Width="300">
<StackPanel>
<Button Content="Disabled Button with ToolTipService"
Height="23" IsEnabled="False" Margin="10" Name="button2"
ToolTipService.ShowOnDisabled="True" Width="200">
<Button.ToolTip>
ToolTip on a disabled control
</Button.ToolTip>
</Button>
</StackPanel>
</Window>
|