Collapse the table of content
Expand the table of content
Expand Minimize

UIElement3D.PreviewStylusButtonDown Event


Occurs when the stylus button is pressed while the pointer is over this element.

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

public event StylusButtonEventHandler PreviewStylusButtonDown

This event creates an alias for the Stylus.PreviewStylusButtonDown  for this class, so that PreviewStylusButtonDown is part of the class members list when UIElement3D is inherited as a base element. Event handlers that are attached to the PreviewStylusButtonDown event are attached to the underlying Stylus.PreviewStylusButtonDown attached event and receive the same event data instance.GTMT

Touch, mouse, and stylus input exist in a particular relationship. For more information, see Touch Input Support in Windows Vista and Input Overview.

PreviewStylusButtonDown is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.

Identifier field


Routing strategy




.NET Framework
Available since 3.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft