ContentElement.PreviewStylusDown ContentElement.PreviewStylusDown ContentElement.PreviewStylusDown ContentElement.PreviewStylusDown Event

定義

手寫筆在此項目上方且碰觸數位板時發生。Occurs when the stylus touches the digitizer while it is over this element.

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

實作

備註

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

適用於