Export (0) Print
Expand All

TreeView.ShowNodeToolTips Property

Note: This property is new in the .NET Framework version 2.0.

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 bool ShowNodeToolTips { get; set; }
/** @property */
public boolean get_ShowNodeToolTips ()

/** @property */
public void set_ShowNodeToolTips (boolean value)

public function get ShowNodeToolTips () : boolean

public function set ShowNodeToolTips (value : boolean)

Property Value

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.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft