Image Map Click Event ArgsXCoordinate Property
This read-only property is used to get the X coordinate of the click
Definition
Namespace: EWSoftware.ImageMaps
Assemblies: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2024.12.31.0
EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2024.12.31.0
The X coordinate is only valid in Windows Forms image maps when they are clicked on with the mouse and for web server control image maps when clicked on with the mouse and rendered in browsers that support the event.offsetX property such as Internet Explorer. For browsers that do not support the property, the coordinate will always be negative one (-1). If an area's click event is fired by selecting it with the Enter key, the coordinate may not be within the bounds of the area in the web server control. For image areas selected via the keyboard in the Windows Forms control, the coordinate will always be negative one (-1).
Assemblies: EWSoftware.ImageMaps.Web.Controls (in EWSoftware.ImageMaps.Web.Controls.dll) Version: 2024.12.31.0
EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2024.12.31.0
C#
public int XCoordinate { get; }VB
Public ReadOnly Property XCoordinate As Integer
GetC++
public:
property int XCoordinate {
int get ();
}F#
member XCoordinate : int with getProperty Value
Int32The X coordinate is only valid in Windows Forms image maps when they are clicked on with the mouse and for web server control image maps when clicked on with the mouse and rendered in browsers that support the event.offsetX property such as Internet Explorer. For browsers that do not support the property, the coordinate will always be negative one (-1). If an area's click event is fired by selecting it with the Enter key, the coordinate may not be within the bounds of the area in the web server control. For image areas selected via the keyboard in the Windows Forms control, the coordinate will always be negative one (-1).