ImageMapAreas Property
This returns the collection of areas defined for the image map
Namespace: EWSoftware.ImageMaps.Web.ControlsAssembly: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2023.1.3.0
[PersistenceModeAttribute(PersistenceMode.InnerDefaultProperty)]
public ImageAreaCollection Areas { get; }
<PersistenceModeAttribute(PersistenceMode.InnerDefaultProperty)>
Public ReadOnly Property Areas As ImageAreaCollection
Get
public:
[PersistenceModeAttribute(PersistenceMode::InnerDefaultProperty)]
virtual property ImageAreaCollection^ Areas {
ImageAreaCollection^ get () sealed;
}
[<PersistenceModeAttribute(PersistenceMode.InnerDefaultProperty)>]
abstract Areas : ImageAreaCollection with get
[<PersistenceModeAttribute(PersistenceMode.InnerDefaultProperty)>]
override Areas : ImageAreaCollection with get
ImageAreaCollectionIImageMapAreas
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.