OffsetX Property

HtmlEventArgs.OffsetX Property


Gets the x-coordinate mouse position in pixels relative to the HTML object that raised the event.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

public int OffsetX { get; }

Property Value

Type: System.Int32
The x-coordinate mouse position in pixels if the Document Object Model (DOM) event includes position information; otherwise, 0 (zero).


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft