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 expandable node indicator.
Inline |
<asp:treeview expandimagetooltip = strText ... > |
Script |
TreeView.ExpandImageToolTip [ = strText ] |
strText |
String representing the ToolTip for the image displayed for the expandable node indicator. |
This property is read/write with no default value.
Use the ExpandImageToolTip property to specify a ToolTip for the expandable 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 ExpandImageToolTip when the user hovers the mouse over the image displayed for the expandable node indicator.
NOTE: The ExpandImageToolTip 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 ExpandImageToolTip property to specify a ToolTip for an image that is displayed for the expandable 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 CollapseImageToolTip