ESRI.ArcGIS.ADF.Web.UI.WebControls
CollapsedImage Property
See Also 
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) 
<PersistenceModeAttribute()>
<BrowsableAttribute(True)>
<ResCategoryAttribute("TreeViewPlus")>
<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.")>
<NotifyParentPropertyAttribute(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# 
[PersistenceModeAttribute()]
[BrowsableAttribute(true)]
[ResCategoryAttribute("TreeViewPlus")]
[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.")]
[NotifyParentPropertyAttribute(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.

See Also

© 2010 All Rights Reserved.