This custom System.EventArgs object provides extra information for some image-click events. These include the System.Web.UI.WebControls.ImageButton.Click and System.Web.UI.HtmlControls.HtmlInputImage.ServerClick events. Note that the System.Web.UI.WebControls.Image and System.Web.UI.HtmlControls.HtmlImage controls do not use this class.
The extra information consists of two coordinates indicating the exact position where the image was clicked: X and Y. These coordinates are measured from the top-left corner, which has the coordinates (0, 0) by convention.
public sealed class ImageClickEventArgs : EventArgs { // Public Constructors public ImageClickEventArgs(int x, int y); // Public Instance Fields public int X; public int Y; }