Partager via


HtmlEventArgs.ScreenY Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the y-coordinate mouse position in pixels relative to the user's screen.

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

Syntax

'Declaration
Public ReadOnly Property ScreenY As Integer
public int ScreenY { get; }

Property Value

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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