asp.net.ph

TreeView.CollapseImageToolTip 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 collapsible node indicator.

Syntax


Inline <asp:treeview collapseimagetooltip = strText ... >
Script TreeView.CollapseImageToolTip [ = strText ]

Property Value


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

This property is read/write with no default value.

Remarks

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.

Example

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

TreeView Members   ExpandImageToolTip 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