UIElement Events


.NET Framework Class Library
UIElement..::.GotTouchCapture 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 is captured to 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
Syntax

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

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

Identifier field

GotTouchCaptureEvent

Routing strategy

Bubbling

Delegate

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

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