<?xml version="1.0" encoding="utf-8"?> <Type Name="ImageClickEventArgs" FullName="System.Web.UI.ImageClickEventArgs"> <TypeSignature Language="C#" Maintainer="auto" Value="public sealed class ImageClickEventArgs : EventArgs" /> <AssemblyInfo> <AssemblyName>System.Web</AssemblyName> <AssemblyPublicKey> </AssemblyPublicKey> <AssemblyVersion>1.0.5000.0</AssemblyVersion> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement> <Base> <BaseTypeName>System.EventArgs</BaseTypeName> </Base> <Interfaces /> <Docs> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>This class passes the location where a user clicked an <see cref="T:System.Web.UI.HtmlControls.HtmlInputImage" /> server control or an <see cref="T:System.Web.UI.WebControls.ImageButton" /> Web server control. Clicking an <see cref="T:System.Web.UI.HtmlControls.HtmlInputImage" /> server control causes a <see cref="E:System.Web.UI.HtmlControls.HtmlInputImage.ServerClick" /> event to occur, while clicking an <see cref="T:System.Web.UI.WebControls.ImageButton" /> server control causes a <see cref="E:System.Web.UI.WebControls.ImageButton.Click" /> event to occur. You can then use event handlers to programmatically respond to the event based on the value of these coordinates.</para> <block subset="none" type="note"> <para>The origin coordinates (0,0) are located at the upper left corner of the image.</para> </block> <para>Raising an event invokes the event handler through a delegate. For more information, see <format type="text/html"><a href="F2ADAF01-1ED1-42E1-8C31-8D467E7E0EE2">Raising an Event</a></format>.</para> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Provides data for any events that occur when a user clicks an image-based ASP.NET server control, such as the <see cref="T:System.Web.UI.HtmlControls.HtmlInputImage" /> or <see cref="T:System.Web.UI.WebControls.ImageButton" /> server controls. This class cannot be inherited.</para> </summary> </Docs> <Members> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public ImageClickEventArgs (int x, int y);" /> <MemberType>Constructor</MemberType> <ReturnValue /> <Parameters> <Parameter Name="x" Type="System.Int32" /> <Parameter Name="y" Type="System.Int32" /> </Parameters> <Docs> <remarks>To be added</remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Initializes a new instance of the <see cref="T:System.Web.UI.ImageClickEventArgs" /> class using the <paramref name="x" /> and <paramref name="y" /> parameters.</para> </summary> <param name="x"> <attribution license="cc4" from="Microsoft" modified="false" />The x-coordinate where the user clicked an image-based ASP.NET server control. </param> <param name="y"> <attribution license="cc4" from="Microsoft" modified="false" />The y-coordinate where the user clicked an image-based ASP.NET server control. </param> </Docs> <AssemblyInfo> <AssemblyVersion>1.0.5000.0</AssemblyVersion> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> <Member MemberName="X"> <MemberSignature Language="C#" Value="public int X;" /> <MemberType>Field</MemberType> <ReturnValue> <ReturnType>System.Int32</ReturnType> </ReturnValue> <Parameters /> <Docs> <remarks>To be added</remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>An integer that represents the x-coordinate where a user clicked an image-based ASP.NET server control.</para> </summary> </Docs> <AssemblyInfo> <AssemblyVersion>1.0.5000.0</AssemblyVersion> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> <Member MemberName="Y"> <MemberSignature Language="C#" Value="public int Y;" /> <MemberType>Field</MemberType> <ReturnValue> <ReturnType>System.Int32</ReturnType> </ReturnValue> <Parameters /> <Docs> <remarks>To be added</remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>An integer that represents the y-coordinate where a user clicked an image-based ASP.NET server control.</para> </summary> </Docs> <AssemblyInfo> <AssemblyVersion>1.0.5000.0</AssemblyVersion> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> </Members> </Type>