UIElement.TouchEnter 事件


在触摸屏输入从此元素边界外部移动到其内部时发生。Occurs when a touch moves from outside to inside the bounds of this element.

 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.