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




The image URL hovered upon.

Syntax

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

Return Value

URL to icon image displayed when user hovers over maptip.

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.