TouchDevice::OnCapture Method (IInputElement^, CaptureMode)
.NET Framework (current version)
Called when a touch is captured to an element.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- element
-
Type:
System.Windows::IInputElement^
The element that captures the touch input.
- captureMode
-
Type:
System.Windows.Input::CaptureMode
The capture policy.
The OnCapture method has no default implementation. It can be overridden in a derived class to perform any actions that are required when the touch input is captured.
.NET Framework
Available since 4.0
Available since 4.0
Show: