UIElement.StylusButtonDown 事件

定義

手寫筆指標在此元素上方且按下手寫筆按鈕時發生。Occurs when the stylus button is pressed while the pointer is over this element.

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

實作

備註

這個事件會為這個類別建立 Stylus.StylusButtonDown 附加事件的別名,因此,當 UIElement 繼承為基底專案時,StylusButtonDown 就是類別成員清單的一部分。This event creates an alias for the Stylus.StylusButtonDown attached event for this class, so that StylusButtonDown is part of the class members list when UIElement is inherited as a base element. 附加至 StylusButtonDown 事件的事件處理常式會附加至基礎 Stylus.StylusButtonDown 附加事件,並接收相同的事件資料實例。Event handlers that are attached to the StylusButtonDown event are attached to the underlying Stylus.StylusButtonDown 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 StylusButtonDownEvent
路由策略Routing strategy 路由Bubbling
Delegate - 委派Delegate StylusButtonEventHandler

適用於

另請參閱