UIElement.TouchEnter Event

Definition

當觸控從這個項目的界限外部移至內部時發生。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) 

Remarks

無論是否將觸控裝置捕捉至此元素,一律會引發此事件。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 - 委派Delegate 型別 EventHandler<TEventArgs>TouchEventArgsEventHandler<TEventArgs> of type TouchEventArgs.
  • 覆寫 OnTouchEnter,以在衍生類別中為這個事件執行類別處理。Override OnTouchEnter to implement class handling for this event in derived classes.

Applies to