Implements the basic functionality common to all hot spot shapes.
Assembly: System.Web (in System.Web.dll)
Gets or sets the access key that allows you to quickly navigate to theregion.
Gets or sets the alternate text to display for a ImageMap control when the image is unavailable or renders to a browser that does not support images.object in an
Gets or sets the behavior of a ImageMap control when the is clicked.object in an
Gets a value indicating whether theobject is tracking its view-state changes.
When overridden in a derived class, gets the string representation for theobject's shape.
Gets or sets the URL to navigate to when aobject is clicked.
Gets or sets the name of theobject to pass in the event data when the is clicked.
Gets or sets the tab index of theregion.
Gets or sets the target window or frame in which to display the Web page content linked to when aobject that navigates to a URL is clicked.
Gets a dictionary of state information that allows you to save and restore the view state of aobject across multiple requests for the same page.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
When overridden in a derived class, returns a string that represents the coordinates of theregion.
Serves as the default hash function. (Inherited from Object.)
Restores theobject's previously saved view state to the object.
Saves the changes to theobject's view state since the time the page was posted back to the server.
This API supports the product infrastructure and is not intended to be used directly from your code. Restores theobject's previously saved view state to the object.
This API supports the product infrastructure and is not intended to be used directly from your code. Saves the changes to theobject's view state since the last time the page was posted back to the server.
This API supports the product infrastructure and is not intended to be used directly from your code. Instructs theregion to track changes to its view state.
You cannot directly create instances of the abstract CircleHotSpot, RectangleHotSpot, and PolygonHotSpot classes to provide the common basic functionality for a hot spot. You must derive from the class to create a custom hot spot class that represents a unique shape that you define. However, you can define most shapes using the CircleHotSpot, RectangleHotSpot, and PolygonHotSpot classes.class. Instead, this class is inherited by the
When a ImageMap control is clicked, the page either navigates to a URL, generates a postback to the server, or does nothing. The HotSpotMode property specifies this behavior. To navigate to a URL, set the HotSpotMode property to HotSpotMode.Navigate. Use the NavigateUrl property to specify the URL to navigate to. To post back to the server, set the HotSpotMode property to HotSpotMode.PostBack. Use the PostBackValue property to specify a name for the object. This name will be passed in the ImageMapEventArgs event data when the object is clicked. If you want the object to have no behavior set the HotSpotMode property to HotSpotMode.Inactive.in an
Notes to Inheritors:
Available since 2.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.