Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
top
Expand Minimize

pointerEvents property

Sets or retrieves a value that specifies under what circumstances a given graphics element can be the target element for a pointer event in Scalable Vector Graphics (SVG). Starting with Internet Explorer 11, this property also has basic support for HTML elements (see "Remarks" section).

Scalable Vector Graphics: Interactivity, Section 16.6Internet Explorer 9

 

Syntax

HRESULT value = object.put_pointerEvents( v);HRESULT value = object.get_pointerEvents(* p);

Property values

Type: BSTR

One of the values in the Property Values section.

String format

visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | none | inherit | initial

CSS information

Applies Tographics elements, all HTML elements (with limited support, see Remarks)
Mediavisual
Inheritedtrue
Initial ValuevisiblePainted

Standards information

Remarks

Starting with IE11, IHTMLCSSStyleDeclaration::pointerEvents is also supported as a CSS property on HTML elements, with the following effect:

ValueDescription

none

The element does not fire pointer input events (it is not hit-testable).

Any other valid pointer-events value

The element fires pointer input events.

 

The IHTMLCSSStyleDeclaration::pointerEvents property affects the circumstances under which the following are processed:

  • User interface events, such as mouse clicks
  • Dynamic pseudo-classes (that is, :hover, :active, and :focus)
  • Hyperlinks (that is, the a element)

As of Internet Explorer for Windows Phone 8.1 Update, Internet Explorer for Windows Phone supports initial as a value for this property.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft