UIElement.PreviewStylusDown 事件

定义

当触笔位于元素上且触及数字化器时发生。Occurs when the stylus touches the digitizer while it is over this element.

public:
 virtual event System::Windows::Input::StylusDownEventHandler ^ PreviewStylusDown;
public event System.Windows.Input.StylusDownEventHandler PreviewStylusDown;
member this.PreviewStylusDown : System.Windows.Input.StylusDownEventHandler 
Public Custom Event PreviewStylusDown As StylusDownEventHandler 

实现

注解

此事件创建此类的 Stylus.PreviewStylusDown 附加事件的别名,以便在将 UIElement 作为基元素继承时,PreviewStylusDown 是类成员列表的一部分。This event creates an alias for the Stylus.PreviewStylusDown attached event for this class, so that PreviewStylusDown is part of the class members list when UIElement is inherited as a base element. 附加到 PreviewStylusDown 事件的事件处理程序附加到基础 Stylus.PreviewStylusDown 附加事件,并接收相同的事件数据实例。Event handlers that are attached to the PreviewStylusDown event are attached to the underlying Stylus.PreviewStylusDown attached event and receive the same event data instance.

触摸、鼠标和触笔输入在特定关系中存在。Touch, mouse, and stylus input exist in a particular relationship. 有关详细信息,请参阅输入概述For more information, see Input Overview.

路由事件信息Routed Event Information

标识符字段Identifier field PreviewStylusDownEvent
路由策略Routing strategy 隧道Tunneling
委托Delegate StylusDownEventHandler

适用于