UIElement.TouchEnter UIElement.TouchEnter UIElement.TouchEnter UIElement.TouchEnter Event

定義

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

備註

一律引發這個事件,或有觸控式裝置擷取至這個項目。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.

適用於