UIElement.PreviewStylusUp UIElement.PreviewStylusUp UIElement.PreviewStylusUp UIElement.PreviewStylusUp Event


手寫筆在此項目上方,且使用者將手寫筆舉起離開數位板時發生。Occurs when the user raises the stylus off the digitizer while the stylus is over this element.

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



此事件建立的別名Stylus.PreviewStylusUp附加事件,此類別中,以便PreviewStylusDown屬於類別的成員清單時UIElement繼承為基底的項目。This event creates an alias for the Stylus.PreviewStylusUp 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.PreviewStylusUp附加事件,並接收相同的事件資料執行個體。Event handlers that are attached to the PreviewStylusDown event are attached to the underlying Stylus.PreviewStylusUp 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 PreviewStylusUpEvent
路由策略Routing strategy 通道Tunneling
Delegate - 委派Delegate StylusEventHandler
  • 對應的事件反昇事件是StylusUpThe corresponding bubbling event is StylusUp.

  • 覆寫OnPreviewStylusUp實作在衍生類別中這個事件的類別處理。Override OnPreviewStylusUp to implement class handling for this event in derived classes.