How you get a ToolTip over a disabled element in WPF?
Answer Posted / Priti Paliwal
To display a ToolTip on a disabled element in WPF, you can use the PlacementTarget property of the ToolTip to specify the tooltip should be associated with the parent container:
```xaml
<Button IsEnabled="False" ToolTipService.ToolTip="My ToolTip">
<TextBlock Text="Click Me"/>
</Button>
<ToolTip Service.PlacementTarget="{RelativeSource FindAncestor, AncestorType=StackPanel}" Content="My ToolTip"/>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category