<?xml version="1.0" encoding="utf-8"?> <Type Name="ImageMapEventArgs" FullName="System.Web.UI.WebControls.ImageMapEventArgs"> <TypeSignature Language="C#" Value="public class ImageMapEventArgs : EventArgs" /> <AssemblyInfo> <AssemblyName>System.Web</AssemblyName> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> <Base> <BaseTypeName>System.EventArgs</BaseTypeName> </Base> <Interfaces /> <Docs> <since version=".NET 2.0" /> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>The <see cref="E:System.Web.UI.WebControls.ImageMap.Click" /> event is raised when a <see cref="T:System.Web.UI.WebControls.HotSpot" /> object in an <see cref="T:System.Web.UI.WebControls.ImageMap" /> control is clicked. To allow a <see cref="T:System.Web.UI.WebControls.HotSpot" /> object to raise the <see cref="E:System.Web.UI.WebControls.ImageMap.Click" /> event, you must first set either the <see cref="P:System.Web.UI.WebControls.ImageMap.HotSpotMode" /> property or the <see cref="P:System.Web.UI.WebControls.HotSpot.HotSpotMode" /> property to HotSpotMode.PostBack. To control the actions programmatically that are performed when a postback <see cref="T:System.Web.UI.WebControls.HotSpot" /> is clicked, provide an event handler for the <see cref="E:System.Web.UI.WebControls.ImageMap.Click" /> event.</para> <para>A <see cref="P:System.Web.UI.WebControls.HotSpot.PostBackValue" /> property stores a string that is associated with the behavior of the <see cref="T:System.Web.UI.WebControls.HotSpot" /> object when clicked. This string is passed in the <see cref="T:System.Web.UI.WebControls.ImageMapEventArgs" /> event data when the <see cref="T:System.Web.UI.WebControls.HotSpot" /> is clicked.</para> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Provides data for the <see cref="E:System.Web.UI.WebControls.ImageMap.Click" /> event of an <see cref="T:System.Web.UI.WebControls.ImageMap" /> control.</para> </summary> </Docs> <Members> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public ImageMapEventArgs (string value);" /> <MemberType>Constructor</MemberType> <Parameters> <Parameter Name="value" Type="System.String" /> </Parameters> <Docs> <since version=".NET 2.0" /> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Use this constructor to initialize a new instance of the <see cref="T:System.Web.UI.WebControls.ImageMapEventArgs" /> class.</para> <para>The following table shows initial property values for an instance of the <see cref="T:System.Web.UI.WebControls.ImageMapEventArgs" /> class.</para> <list type="table"> <listheader> <item> <term> <para>Property </para> </term> <description> <para>Initial Value </para> </description> </item> </listheader> <item> <term> <para> <see cref="P:System.Web.UI.WebControls.ImageMapEventArgs.PostBackValue" /> </para> </term> <description> <para>The string assigned to the <paramref name="value" /> parameter. </para> </description> </item> </list> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.ImageMapEventArgs" /> class.</para> </summary> <param name="value"> <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.String" /> object assigned to the <see cref="P:System.Web.UI.WebControls.HotSpot.PostBackValue" /> property of the <see cref="T:System.Web.UI.WebControls.HotSpot" /> object that was clicked. </param> </Docs> <AssemblyInfo> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> <Member MemberName="PostBackValue"> <MemberSignature Language="C#" Value="public string PostBackValue { get; }" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.String</ReturnType> </ReturnValue> <Docs> <value>To be added.</value> <since version=".NET 2.0" /> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Use this property to programmatically access the <see cref="P:System.Web.UI.WebControls.HotSpot.PostBackValue" /> property of the <see cref="T:System.Web.UI.WebControls.HotSpot" /> object in an <see cref="T:System.Web.UI.WebControls.ImageMap" /> control that was clicked.</para> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Gets the <see cref="T:System.String" /> assigned to the <see cref="P:System.Web.UI.WebControls.HotSpot.PostBackValue" /> property of the <see cref="T:System.Web.UI.WebControls.HotSpot" /> object that was clicked.</para> </summary> </Docs> <AssemblyInfo> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> </Members> </Type>