ESRI.ArcGIS.ADF.Web.UI.WebControls
DefaultImage Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapTips Class : DefaultImage Property




The image URL when not selected or hovered over.

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute("Use the LayerFormat property")>
<ResDescriptionAttribute("This property is no longer used.")>
<BrowsableAttribute(False)>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property DefaultImage As String
Visual Basic (Usage)Copy Code
Dim instance As MapTips
Dim value As String
 
instance.DefaultImage = value
 
value = instance.DefaultImage
C# 
[ObsoleteAttribute("Use the LayerFormat property")]
[ResDescriptionAttribute("This property is no longer used.")]
[BrowsableAttribute(false)]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
public string DefaultImage {get; set;}

Return Value

String for the image to use for normal maptip display.

Remarks

This property is set by default to an image within the Web ADF embedded resources. It may be overridden to use a different image by setting the URL so that the client can retrieve the image. For example, if you add an image to the images folder of your Web application called maptip.gif, this property may be set to "images/maptip.gif". Do not use the "~/" notation for ASP.NET applications, since the URL is sent directly to the client.

For best results, all images used for the maptip icon should be the same size: DefaultImage, HoverImage, and ClickImage.

See Also

© 2010 All Rights Reserved.