- ToolTip.IsBalloon Property:- To show Balloon using ToolTip,set the Property IsBalloon=true with the ToolTip object as follows:
ToolTipobject.IsBalloon = true;
- ToolTip.ShowAlways Property:- Sets the ShowAlways property to true to enable ToolTip text to be displayed regardless of whether the form is active as follows:
ToolTipobject.ShowAlways = true;
- ToolTip.ToolTipTitle Property:- Sets a title for the ToolTip window. The maximum length of a title is 99 characters. If this property contains a string longer then 99 characters, no title will be displayed.
ToolTipobject.ToolTipTitle="User Title";
- ToolTip.SetToolTip Method:- SetToolTip () is used Set up the ToolTip text for the Button.
ToolTipobject.SetToolTip(button1, "Hi User,Click me.");
For Example:private void toolTip1_Popup(object sender, PopupEventArgs e)
{
ToolTip buttonToolTip = new ToolTip();
buttonToolTip.ToolTipTitle = "Button Tooltip";
buttonToolTip.IsBalloon = true;
buttonToolTip.ShowAlways = true;
buttonToolTip.SetToolTip(button1, "Hi User,Click me.");
}
ToolTip.BackColor Property:
BackColor Property is used Gets or sets the background color for the ToolTip.
ToolTipobject.BackColor = System.Drawing.Color.Navy;
ToolTip.ForeColor Property:
ForeColor Property is used Gets or sets the foreground color for the ToolTip.
ToolTipobject.ForeColor = System.Drawing.Color.Red;

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.

Gowtham RajamanickamPosted Apr 27, 2016, 2:23 AM
cool and sooperb
surender bhyanPosted Apr 1, 2011, 2:08 PM
Thanks Bro , m watching ur code first time ....its cool and m using ur tooltip codde...Thnks ..Keeeeeeeeeeep Rockingggggg ...TC :-)