System.Web.UI.TreeViews Namespace TreeView Class
.NET Framework version 2.0
Sets or retrieves the ToolTip for the image that is displayed for the collapsible node indicator.
Inline |
<asp:treeview collapseimagetooltip = strText ... > |
Script |
TreeView.CollapseImageToolTip [ = strText ] |
strText |
String representing the ToolTip for the image displayed for the collapsible node indicator. |
This property is read/write with no default value.
Use the CollapseImageToolTip property to specify a ToolTip for the collapsible image. The text that you specify provides Assistive Technology devices with a description of the image that can be used to make the control more accessible.
Microsoft® Internet Explorer® renders the CollapseImageToolTip when the user hovers the mouse over the image displayed for the collapsible node indicator.
NOTE: The CollapseImageToolTip property is rendered as an HTML 4.0 title attribute. As such, it may not work in downlevel browser versions.
The following example demonstrates how to use the CollapseImageToolTip property to specify a ToolTip for an image that is displayed for the collapsible node indicator.
<asp:treeview id = "customTreeView"
noexpandimageurl = "space.jpg"
collapseimageurl = "minus.jpg"
collapseimagetooltip = "Collapse Node"
expandimageurl = "plus.jpg"
expandimagetooltip = "Expand Node"
rootnodeimageurl = "root.jpg"
parentnodeimageurl = "parent.jpg"
leafnodeimageurl = "leaf.jpg"
runat = "server">
<nodes>
...
</nodes>
</asp:treeview>
TreeView Members ExpandImageToolTip