Forum Discussion
HKosova
11 years agoSmartBear Alumni (Retired)
The object to which the tooltip is attached should have a property or method that returns the tooltip text. For example, if you have a button like this:
FindChild doesn't search for internal objects returned by properties; you need to access these internal objects directly through the appropriate property.
If you could tell us the class name of your tested object, and maybe also posted some screenshots or a sample application, we could give more specific advice on how to access the tooltip.
you can get the tooltip text using the button's Tooltip property.
<!-- XAML -->
<Button Width="100" Height="25" ToolTipService.ToolTip="This will do nothing though.">Click me!</Button>
FindChild doesn't search for internal objects returned by properties; you need to access these internal objects directly through the appropriate property.
If you could tell us the class name of your tested object, and maybe also posted some screenshots or a sample application, we could give more specific advice on how to access the tooltip.
Related Content
- 6 years ago
- 3 years ago
- 11 years ago
Recent Discussions
- 9 hours ago
- 7 days ago
- 10 days ago