Reader Level:
ARTICLE

How to Create a Balloon Tooltip in C# and Windows Forms

On July 27, 2010 Articles | How do I
How to create a Balloon Tooltip in C# and Windows Forms
  • 0
  • 0
  • 49799

To create a balloon tooltip, we just need to set IsBalloon property of ToolTip control to true. The following code snippet create a balloon tooltip and attaches it to a Button control.

ToolTip buttonToolTip = new ToolTip();

buttonToolTip.ToolTipTitle = "Button Tooltip";

buttonToolTip.UseFading = true;

buttonToolTip.UseAnimation = true;

buttonToolTip.IsBalloon = true;

 

buttonToolTip.ShowAlways = true;

 

buttonToolTip.AutoPopDelay = 5000;

buttonToolTip.InitialDelay = 1000;

buttonToolTip.ReshowDelay = 500;

 

buttonToolTip.SetToolTip(button1, "Click me to execute.");

Mahesh Chand

Mahesh Chand is founder of C# Corner. C# Corner founded in 1999 is a FREE member contributions based open platform for developers to solve problems, learn new technology and hang out.  M...

  • 1rank
  • 71M readers
  • 9times
COMMENT USING

Trending up