Search code examples
c#tooltipmenustrip

Add ToolTip to StripMenuItem C#


So I have a UserControl Form. Where I have a MenuStrip

enter image description here

So I want to add a ToolTip on my MenuStripItems ( which are only pictures ). But setting the text on ToolTipText did not help at all. Also tried

 adaugaToolStripMenuItem.ToolTipText = "Click for the current time";
            adaugaToolStripMenuItem.AutoToolTip = false;

So I have no idea, any help? Is there a way I can add a ToolTip or some kind of hint to my MenuStripItems ?


Solution

  • Did you make sure ShowItemToolTips of the MenuStrip container is also set to true? It's false by default. You may want to use its other property DefaultShowItemToolTips instead.

    MSDN Link.

    Also check the item's AutoToolTip property is set to false. Its default value is true, and that means it uses the Text property as tooltip.

    MSDN Link.