ToolStripButton::AutoToolTip Property

 

Gets or sets a value indicating whether default or custom ToolTip text is displayed on the ToolStripButton.

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

public:
property bool AutoToolTip {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if default ToolTip text is displayed; otherwise, false. The default is true.

Set the AutoToolTip property to false to display custom ToolTipText on a ToolStripItem.

The following code example turns off the automatic ToolTip text for a ToolStripButton and sets custom ToolTipText.

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

.NET Framework
Available since 2.0
Return to top
Show: