To show the tooltip while hovering over disabled element, use the ShowOnDisabled attached property of the ToolTipService class! From XAML.
Syntax:
<Button ToolTipService.ShowOnDisabled="True">
</Button>
Or from C# code, you can call the static method corresponding to the attached property:
ToolTipService.SetShowOnDisabled(myButton, true);
Note: If you want to close the tooltip that is currently showing then,
Set its IsOpen property to false.
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

kunal nagrePosted May 26, 2020, 5:46 AM
Can we use the same thing for UWP application