2

enter image description here

I think this is a very smart control, does winForms have such a thing?

Irakli Lekishvili
  • 33,492
  • 33
  • 111
  • 169

5 Answers5

3

Devexpress has a free ToolTipController class (as well as ErrorProvider and HintController classes) which you can get here: https://www.devexpress.com/Products/Free/NetOffer/ which provides exactly what you want. I use it on daily basis. You can simply drop a textbox onto the form and set its tooltip, tooltipcontroller, and tooltipicon properties as you wish (also you can use the validation event to display error messages as tooltips).

Teoman Soygul
  • 25,584
  • 6
  • 69
  • 80
2

You're looking for the ToolTip component.

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964
0

No, not out of the box. There is a tooltip but it doesn't look like the one you show.

But you could make it by creating a custom control.

Emond
  • 50,210
  • 11
  • 84
  • 115
0

Closest thing I can think of is the Error Provider control

Community
  • 1
  • 1
Jodrell
  • 34,946
  • 5
  • 87
  • 124
0

there is an error provider in winforms to do this but if you want to display like this you can use Tooltip

// Create the ToolTip and associate with the Form container. ToolTip toolTip1 = new ToolTip();

     // Set up the delays for the ToolTip.
     toolTip1.AutoPopDelay = 5000;
     toolTip1.InitialDelay = 1000;
     toolTip1.ReshowDelay = 500;
     // Force the ToolTip text to be displayed whether or not the form is active.
     toolTip1.ShowAlways = true;

     // Set up the ToolTip text for the Button .
     toolTip1.SetToolTip(this.button1, "My button1");

MSDN reference

Nighil
  • 4,099
  • 7
  • 30
  • 56