UIElement Events


.NET Framework Class Library
UIElement..::.PreviewTouchDown 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 presses 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 PreviewTouchDown As EventHandler(Of TouchEventArgs)
Visual Basic (Usage)
Dim instance As UIElement
Dim handler As EventHandler(Of TouchEventArgs)

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

Identifier field

PreviewTouchDownEvent

Routing strategy

Tunneling

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