'Declaration
<CustomCategoryAttribute("Touch_Category")> Public Event LostTouchCapture As System.EventHandler(Of TouchEventArgs)
'Usage
Dim instance As VerticalScrollbarsPresenter Dim handler As System.EventHandler(Of TouchEventArgs) AddHandler instance.LostTouchCapture, handler
[CustomCategory("Touch_Category")] public event System.EventHandler<TouchEventArgs> LostTouchCapture
public event LostTouchCapture: System.EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[CustomCategory("Touch_Category")] public: __event System.EventHandler<TouchEventArgs*>* LostTouchCapture
[CustomCategory("Touch_Category")] public: event System.EventHandler<TouchEventArgs^>^ LostTouchCapture
The event handler receives an argument of type System.Windows.Input.TouchEventArgs containing data related to this event. The following TouchEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Device | (Inherited from System.Windows.Input.InputEventArgs) |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Timestamp | (Inherited from System.Windows.Input.InputEventArgs) |
TouchDevice | Gets the touch that generated the event. |
Target Platforms: 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