Export (0) Print
Expand All
Expand Minimize

ToolStripItem.ToolTipText Property

Gets or sets the text that appears as a ToolTip for a control.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

member ToolTipText : string with get, set

Property Value

Type: System.String
A string representing the ToolTip text.

ToolTipText works only if ShowItemToolTips is set to true. If AutoToolTip is set to true, the Text property for the item is used as the ToolTipText.

The following code example demonstrates how to set the Image, ImageScaling, and ImageTransparentColor for a ToolStripItem. In addition, it demonstrates how to set and show a custom ToolTip for the item.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft