TouchDevice.OnCapture Method (IInputElement, CaptureMode)

.NET Framework (current version)
 

Called when a touch is captured to an element.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

protected virtual void OnCapture(
	IInputElement element,
	CaptureMode captureMode
)

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
Return to top
Show: