Expand Minimize

UIElement.TouchEnter Event

.NET Framework 4.6 and 4.5

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

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

'Declaration
Public Event TouchEnter As EventHandler(Of TouchEventArgs)
<object TouchEnter="EventHandler<TouchEventArgs>" .../>

Identifier field

TouchEnterEvent

Routing strategy

Direct

Delegate

EventHandler(Of TEventArgs) of type TouchEventArgs.

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

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

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft