Reputation: 455
How do I find a tooltip control for any control in Winform with C#?
Upvotes: 0
Views: 1661
Reputation: 5998
Did you try to use the following :
string text = toolTip1.GetToolTip(yourControl);
This gives you the text on the tooltip for that control.
You can set the text of a certain tooltip for your control like this:
toolTip2.SetToolTip(yourControl, "My tooltip text");
Upvotes: 2