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 EventHandler<TEventArgs>类型TouchEventArgsEventHandler<TEventArgs> of type TouchEventArgs.
  • OnTouchEnter写以在派生类中实现此事件的类处理。Override OnTouchEnter to implement class handling for this event in derived classes.

适用于