UIElement.TouchEnter 事件

定義

當觸控從這個項目的界限外部移至內部時發生。Occurs when a touch moves from outside to inside the bounds of this element.

public:
 event EventHandler<System::Windows::Input::TouchEventArgs ^> ^ TouchEnter;
public event EventHandler<System.Windows.Input.TouchEventArgs> TouchEnter;
member this.TouchEnter : EventHandler<System.Windows.Input.TouchEventArgs> 
Public Custom Event TouchEnter As EventHandler(Of TouchEventArgs) 

事件類型

EventHandler<TouchEventArgs>

備註

無論是否將觸控裝置捕獲到此元素,一律會引發此事件。This event is always raised, whether or not the touch device is captured to this element.

路由事件資訊Routed Event Information

識別碼欄位Identifier field TouchEnterEvent
路由策略Routing strategy 直接Direct
代理人Delegate 型別 EventHandler<TEventArgs>TouchEventArgsEventHandler<TEventArgs> of type TouchEventArgs.
  • OnTouchEnter在衍生類別中覆寫以執行這個事件的類別處理。Override OnTouchEnter to implement class handling for this event in derived classes.

適用於