ContentElement.StylusDown 事件
定义
在触笔位于此元素上且同时触及数字化器时发生。Occurs when the stylus touches the digitizer while the stylus is over this element.
public:
virtual event System::Windows::Input::StylusDownEventHandler ^ StylusDown;
public event System.Windows.Input.StylusDownEventHandler StylusDown;
member this.StylusDown : System.Windows.Input.StylusDownEventHandler
Public Custom Event StylusDown As StylusDownEventHandler
事件类型
实现
注解
此事件将为 Stylus.StylusDown 此类创建附加事件的别名,因此 StylusDown 当 ContentElement 继承为基元素时,它是类成员列表的一部分。This event creates an alias for the Stylus.StylusDown attached event for this class, so that StylusDown is part of the class members list when ContentElement is inherited as a base element. 附加到事件的事件处理程序 StylusDown 附加到基础 Stylus.StylusDown 附加事件,并接收相同的事件数据实例。Event handlers that are attached to the StylusDown event are attached to the underlying Stylus.StylusDown 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 | StylusDownEvent |
路由策略Routing strategy | 冒泡Bubbling |
委托Delegate | StylusDownEventHandler |
对应的隧道事件为 PreviewStylusDown 。The corresponding tunneling event is PreviewStylusDown.
重写 OnStylusDown 以在派生类中实现此事件的类处理。Override OnStylusDown to implement class handling for this event in derived classes.