Skip to main content
UIElementTouchEnter Event
 

Occurs when a touch moves from outside to inside the bounds of this element.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public event EventHandler<TouchEventArgs> TouchEnter
public:
event EventHandler<TouchEventArgs^>^ TouchEnter {
	void add(EventHandler<TouchEventArgs^>^ value);
	void remove(EventHandler<TouchEventArgs^>^ value);
}
member TouchEnter : IEvent<EventHandler<TouchEventArgs>,
    TouchEventArgs>
Public Event TouchEnter As EventHandler(Of TouchEventArgs)

This event is always raised, whether or not the touch device is captured to this element.

Identifier field

TouchEnterEvent

Routing strategy

Direct

Delegate

EventHandler of type TouchEventArgs.

  • Override OnTouchEnter to implement class handling for this event in derived classes.

.NET Framework
Available since 4.0
Return to top