Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
UIElement Class
UIElement Events
 TouchEnter Event
Collapse All/Expand All Collapse All
.NET Framework Class Library
UIElement..::.TouchEnter Event

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Occurs when touch input moves from outside to inside of this UIElement.

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
Visual Basic (Declaration)
Public Event TouchEnter As EventHandler(Of TouchEventArgs)
Visual Basic (Usage)
Dim instance As UIElement
Dim handler As EventHandler(Of TouchEventArgs)

AddHandler instance.TouchEnter, handler
C#
public event EventHandler<TouchEventArgs> TouchEnter
Visual C++
public:
 event EventHandler<TouchEventArgs^>^ TouchEnter {
    void add (EventHandler<TouchEventArgs^>^ value);
    void remove (EventHandler<TouchEventArgs^>^ value);
}
F#
member TouchEnter : IEvent<EventHandler<TouchEventArgs>,
    TouchEventArgs>
XAML Attribute Usage
<object TouchEnter="EventHandler<TouchEventArgs>" .../>

Identifier field

TouchEnterEvent

Routing strategy

Direct

Delegate

EventHandler<(Of <(TEventArgs>)>) of type TouchEventArgs.

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker