June 2002
Intermediate to advanced
816 pages
28h 12m
English
ImageClickEventArgs
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 NotInheritable Class ImageClickEventArgs : Inherits EventArgs ' Public Constructors Public Sub New(ByVal x As Integer, ByVal y As Integer) ' Public Instance Fields public X As Integer public Y As Integer End Class
System.Object→System.EventArgs→ ImageClickEventArgs
Read now
Unlock full access