A Tool Tip on a Disabled Control : ToolTip « Windows Presentation Foundation « C# / C Sharp






A Tool Tip on a Disabled Control

A Tool Tip on a Disabled Control
     

<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>

   
    
    
    
    
  








Related examples in the same category

1.ToolTip for BorderToolTip for Border
2.Using ToolTip for TextBox with TextBox.ToolTip and ToolTip tagUsing ToolTip for TextBox with TextBox.ToolTip and ToolTip tag
3.Add ToolTip text to a TextBoxAdd ToolTip text to a TextBox
4.ToolTipService.InitialShowDelayToolTipService.InitialShowDelay
5.ToolTip with ImageToolTip with Image
6.ToolTipService.Placement="Bottom"ToolTipService.Placement=
7.ToolTip with List itemsToolTip with List items
8.Disabled Button with ToolTipServiceDisabled Button with ToolTipService
9.Control the Display Duration and Position of a Tool TipControl the Display Duration and Position of a Tool Tip
10.Set ToolTip Placement, ShowDuration, VerticalOffsetSet ToolTip Placement, ShowDuration, VerticalOffset
11.Set ToolTipService.Placement="Center"Set ToolTipService.Placement=
12.Set drop shadow for a ToolTipSet drop shadow for a ToolTip
13.Add Image to ToolTipAdd Image to ToolTip
14.Set border for ToolTip by using ControlTemplateSet border for ToolTip by using ControlTemplate
15.Complex ToolTipComplex ToolTip
16.ToolTip With BindingToolTip With Binding