asp.net.ph

TreeView.ExpandImageToolTip Property

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.

Syntax


Inline <asp:treeview expandimagetooltip = strText ... >
Script TreeView.ExpandImageToolTip [ = strText ]

Property Value


strText String representing the ToolTip for the image displayed for the expandable node indicator.

This property is read/write with no default value.

Remarks

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.

Example

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>
See Also

TreeView Members   CollapseImageToolTip Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph