.NET Framework Class Library
ContentElement.GotTouchCapture Event
Occurs when a touch is captured to this element.
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
Public Event GotTouchCapture As EventHandler(Of TouchEventArgs)
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 |
|
|
Routing strategy |
Bubbling |
|
Delegate |
EventHandler<TEventArgs> of type TouchEventArgs. |
-
Override OnGotTouchCapture to implement class handling for this event in derived classes.
Version Information
.NET Framework
Supported in: 4.NET Framework Client Profile
Supported in: 4Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also