ImageAreaBaseAttributes Property

Gets a collection of attribute name and value pairs for the area that are not directly supported by the class.

Definition

Namespace: EWSoftware.ImageMaps.Web.Controls
Assembly: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2023.1.3.0
public AttributeCollection Attributes { get; }

Property Value

AttributeCollection

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