TreeView::ShowNodeToolTips Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value indicating ToolTips are shown when the mouse pointer hovers over a TreeNode.

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

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

Property Value

Type: System::Boolean

true if ToolTips are shown when the mouse pointer hovers over a TreeNode; otherwise, false. The default is false.

In order for ToolTips to be visible, you must set the ToolTipText for a TreeNode.

The following code example demonstrates how to use the ToolTipText and ShowNodeToolTips properties. To run this example, paste the following code into a Windows Form and call InitializeTreeViewWithToolTips from the form's constructor or Load event handler.

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

.NET Framework
Available since 2.0
Return to top
Show: