A Tool Tip on a Disabled Control

image_pdfimage_print


   
     

<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 without ToolTipService"  
            Height="23" IsEnabled="False" Margin="10" Name="button1" 
            Width="200">
            <Button.ToolTip>
                ToolTip on a disabled control
            </Button.ToolTip>
        </Button>
 
    </StackPanel>
</Window>