System.Web.UI.WebControls.ImageMap Members

The members of System.Web.UI.WebControls.ImageMap are listed below.

See Also: Inherited members from System.Web.UI.WebControls.Image

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.ImageMap class.

Public Properties

HotSpotModeHotSpotMode.

Gets or sets the default behavior for the System.Web.UI.WebControls.HotSpot objects of an System.Web.UI.WebControls.ImageMap control when the System.Web.UI.WebControls.HotSpot objects are clicked.

[read-only]
HotSpotsHotSpotCollection.

Gets a collection of System.Web.UI.WebControls.HotSpot objects that represents the defined hot spot regions in an System.Web.UI.WebControls.ImageMap control.

Targetstring.

Gets or sets the target window or frame that displays the Web page content linked to when the System.Web.UI.WebControls.ImageMap control is clicked.

Public Methods

RaisePostBackEvent(string)

Raises events for the System.Web.UI.WebControls.ImageMap control when a form is posted back to the server.

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Adds the HTML attributes and styles of an System.Web.UI.WebControls.ImageMap control to be rendered to the specified System.Web.UI.HtmlTextWriter.

override
LoadViewState(object)

Restores view-state information for the System.Web.UI.WebControls.ImageMap control from a previous page request that was saved by the ImageMap.SaveViewState method.

OnClick(ImageMapEventArgs)

Raises the ImageMap.Click event for the System.Web.UI.WebControls.ImageMap control.

override
Render(System.Web.UI.HtmlTextWriter)

Sends the System.Web.UI.WebControls.ImageMap control content to the specified System.Web.UI.HtmlTextWriter object, which writes the content to render on the client.

override
SaveViewState() : object

Saves any changes to an System.Web.UI.WebControls.ImageMap control's view-state that have occurred since the time the page was posted back to the server.

override
TrackViewState()

Tracks view-state changes to the System.Web.UI.WebControls.ImageMap control so they can be stored in the control's System.Web.UI.StateBag object. This object is accessible through the System.Web.UI.Control.ViewState property.

Public Events

Click

Occurs when a System.Web.UI.WebControls.HotSpot object in an System.Web.UI.WebControls.ImageMap control is clicked.