GestureRecognizer::SetEnabledGestures Method (IEnumerable<ApplicationGesture>^)

 

Sets the application gestures that the GestureRecognizer recognizes.

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

public:
void SetEnabledGestures(
	IEnumerable<ApplicationGesture>^ applicationGestures
)

Parameters

applicationGestures
Type: System.Collections.Generic::IEnumerable<ApplicationGesture>^

An array of type ApplicationGesture that specifies the application gestures you wish the GestureRecognizer to recognize.

The following example demonstrates how to create a GestureRecognizer that recognizes only the Down, Right, and ScratchOut gestures.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: