ContentElement.PreviewStylusSystemGesture 事件

定义

在用户采用某一种触笔笔势时发生。Occurs when a user performs one of several stylus gestures.

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

事件类型

StylusSystemGestureEventHandler

实现

注解

有关触笔势的信息,请参阅 SystemGestureFor information about stylus gestures, see SystemGesture.

此事件将为 Stylus.PreviewStylusSystemGesture 此类创建附加事件的别名,因此 PreviewStylusSystemGestureContentElement 继承为基元素时,它是类成员列表的一部分。This event creates an alias for the Stylus.PreviewStylusSystemGesture attached event for this class, so that PreviewStylusSystemGesture is part of the class members list when ContentElement is inherited as a base element. 附加到事件的事件处理程序 PreviewStylusSystemGesture 附加到基础 Stylus.PreviewStylusSystemGesture 附加事件,并接收相同的事件数据实例。Event handlers that are attached to the PreviewStylusSystemGesture event are attached to the underlying Stylus.PreviewStylusSystemGesture 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 PreviewStylusSystemGestureEvent
路由策略Routing strategy 隧道Tunneling
委托Delegate StylusSystemGestureEventHandler

适用于