WebImageAreaCollection Class

This is an ImageAreaCollection-derived class that implements IStateManager so that web-based image areas can track their view state.

Definition

Namespace: EWSoftware.ImageMaps.Web.Controls
Assembly: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2023.1.3.0
public class WebImageAreaCollection : ImageAreaCollection, 
	IStateManager
Inheritance
Object    CollectionIImageArea    ImageAreaCollection    WebImageAreaCollection
Implements
IStateManager

Constructors

WebImageAreaCollection Default constructor
WebImageAreaCollection(IImageMap) Construct an empty collection associated with the specified IImageMap control
WebImageAreaCollection(IImageMap, IEnumerableIImageArea) Construct collection from an enumerable list of IImageArea objects

Properties

CountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionIImageArea)
ImageMapControl This property is used to get the IImageMap control that uses this collection. Its primary use is by the ImageAreaCoordinateEditor designer class so that it can get the image information it needs at design time.
(Inherited from ImageAreaCollection)
IsTrackingViewState Indicates whether or not view state is being tracked
ItemGets or sets the element at the specified index.
(Inherited from CollectionIImageArea)
ItemsGets a IListT wrapper around the CollectionT.
(Inherited from CollectionIImageArea)

Methods

AddAdds an object to the end of the CollectionT.
(Inherited from CollectionIImageArea)
AddRange Add a range of IImageArea objects from an enumerable list
(Inherited from ImageAreaCollection)
ClearRemoves all elements from the CollectionT.
(Inherited from CollectionIImageArea)
ClearItems This is overridden to notify the image map that all of the image areas have been removed
(Inherited from ImageAreaCollection)
ContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionIImageArea)
CopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionIImageArea)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionIImageArea)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionIImageArea)
InsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionIImageArea)
InsertItem This is overridden to track view state for the inserted item
(Overrides ImageAreaCollectionInsertItem(Int32, IImageArea))
LoadViewState Load view state
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionIImageArea)
RemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionIImageArea)
RemoveItem This is overridden to set the flag to indicate that all items should be serialized to view state if this is used.
(Overrides ImageAreaCollectionRemoveItem(Int32))
SaveViewState Save view state
SetItem This is overridden to notify the image map that a new image area has replaced another in the collection.
(Inherited from ImageAreaCollection)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TrackViewState Start tracking view state

Events

ImageAreaChanged This event is raised when an image area property changes that affects its visual presentation in the image map control such as its position or enabled state.
(Inherited from ImageAreaCollection)

See Also