How to: Use ToolTips in ToolStrip Controls
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

How to: Use ToolTips in ToolStrip Controls 

You can display a ToolTip for the ToolStrip control you want by setting the control's ShowItemToolTips property to true.

To display a ToolTip

To use the ToolTipText property for the ToolTip text of a ToolStripButton

  1. Set the ShowItemToolTips property of the button to true.

  2. Set the System.Windows.Forms.ToolStripButton.AutoToolTip property of the button to false.

    The AutoToolTip property is true by default for ToolStripButton, ToolStripDropDownButton, and ToolStripSplitButton.

    A ToolStripButton uses its Text property for the ToolTip text by default. Use this procedure to display custom text in a ToolStripButton ToolTip.

NoteNote

If you set ToolStripItemDisplayStyle to None or Image, no text will appear on the button, but the tool tip still appears.

See Also

Show:
© 2016 Microsoft