System.Web.UI.WebControls.TreeNodeBinding.ToolTip Property

Gets or sets the ToolTip text for a node to which the System.Web.UI.WebControls.TreeNodeBinding object is applied.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue("")]
public string ToolTip { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the System.Web.UI.WebControls.TreeView control is bound to a data source, use the TreeNodeBinding.ToolTip property to specify the value to bind to the TreeNode.ToolTip property of a System.Web.UI.WebControls.TreeNode object. This binding relationship affects all System.Web.UI.WebControls.TreeNode objects to which the System.Web.UI.WebControls.TreeNodeBinding object is applied. The ToolTip text is displayed when the mouse pointer is positioned over the node.

Note:

You can selectively override the TreeNodeBinding.ToolTip property by setting the TreeNode.ToolTip property of each node directly.

Instead of using the TreeNodeBinding.ToolTip property to bind the same ToolTip text to each node, you can bind the TreeNode.ToolTip property of a System.Web.UI.WebControls.TreeNode object to a field of a data source by setting the TreeNodeBinding.ToolTipField property.

The value of this property is stored in view state.

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see System.ComponentModel.LocalizableAttribute and ASP.NET Globalization and Localization.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0