ESRI.ArcGIS.ADF.Web.UI.WebControls
CollapsedImage Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : CollapsedImage Property




URL of the image to display at a node when the node is collapsed to hide its children.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("The URL of the image to display at a node when the node is collapsed to hide its children. The value must be a valid URL to the image.")>
<ResCategoryAttribute("TreeViewPlus")>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
<NotifyParentPropertyAttribute(True)>
<BrowsableAttribute(True)>
Public Property CollapsedImage As String
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
Dim value As String
 
instance.CollapsedImage = value
 
value = instance.CollapsedImage
C# 
[ResDescriptionAttribute("The URL of the image to display at a node when the node is collapsed to hide its children. The value must be a valid URL to the image.")]
[ResCategoryAttribute("TreeViewPlus")]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[NotifyParentPropertyAttribute(true)]
[BrowsableAttribute(true)]
public string CollapsedImage {get; set;}

Remarks

The value must be a valid URL to the image. This may be a relative URL to an image within the web application (e.g., "../images/myCollapsed.gif"), or an absolute URL to an image in a shared directory on a Web server (e.g., "http://myserver.example.com/images/myCollapsed.gif"). The ASP.NET application-relative path pattern (e.g., ~/images/myCollapsed.gif") will not work properly.

If not specified, the default image is used, which is a square button with a minus sign.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.