ImageMapAreas Property

This returns the collection of areas defined for the image map

Definition

Namespace: EWSoftware.ImageMaps.Web.Controls
Assembly: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2023.1.3.0
[PersistenceModeAttribute(PersistenceMode.InnerDefaultProperty)]
public ImageAreaCollection Areas { get; }

Property Value

ImageAreaCollection

Implements

IImageMapAreas

Remarks

  Important

If you use the Visual Studio designer to edit the collection of image areas, custom attributes on the image area items will be lost (i.e. things like onmouseover or other such attributes that are not normal properties of the image area object). This appears to be a bug in the designer as the same thing happens to ListItem objects in controls such as the ListBox and DropDownList. Use code to add custom attributes to the image areas instead.

See Also