Export (0) Print
Expand All

HtmlEventArgs Properties

Silverlight

The HtmlEventArgs type exposes the following members.

  Name Description
Public property AltKey Gets the state of the ALT key when the event was raised.
Public property CharacterCode Gets the integer Unicode value of a key that was pressed.
Public property ClientX Gets the x-coordinate mouse position in pixels relative to the client area of the window.
Public property ClientY Gets the y-coordinate mouse position in pixels relative to the client area of the window.
Public property CtrlKey Gets the state of the CTRL key when the event was raised.
Public property EventObject Gets the underlying HTML event object.
Public property EventType Gets the name of the event raised by the browser.
Public property KeyCode Gets the integer Unicode value of a key that is associated with a keyboard event other than "keypress".
Public property MouseButton Gets the mouse buttons that were clicked at the time the event was raised.
Public property OffsetX Gets the x-coordinate mouse position in pixels relative to the HTML object that raised the event.
Public property OffsetY Gets the y-coordinate mouse position in pixels relative to the HTML object that raised the event.
Public property ScreenX Gets the x-coordinate mouse position in pixels relative to the user's screen.
Public property ScreenY Gets the y-coordinate mouse position in pixels relative to the user's screen.
Public property ShiftKey Gets the state of the SHIFT key when the event was raised.
Public property Source Gets a reference to the Document Object Model (DOM) element or object that raised the event.
Top

Community Additions

ADD
Show:
© 2014 Microsoft