UIElement.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 

實作

備註

如需手寫筆手勢的相關資訊,請參閱 SystemGestureFor information about stylus gestures, see SystemGesture.

這個事件會為這個類別建立 Stylus.PreviewStylusSystemGesture 附加事件的別名,因此,當 UIElement 繼承為基底專案時,PreviewStylusSystemGesture 就是類別成員清單的一部分。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 UIElement 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 - 委派Delegate StylusSystemGestureEventHandler

適用於