UIElement Events


.NET Framework Class Library
UIElement..::.TouchUp Event

Occurs when a finger is raised off of the screen while the finger is over 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
Syntax

Visual Basic (Declaration)
Public Event TouchUp As EventHandler(Of TouchEventArgs)
Visual Basic (Usage)
Dim instance As UIElement
Dim handler As EventHandler(Of TouchEventArgs)

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

Identifier field

TouchUpEvent

Routing strategy

Bubbling

Delegate

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

  • The corresponding tunneling event is PreviewTouchUp.

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

Platforms

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.
Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
See Also

Reference

Page view tracker