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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the application gestures that the InkCanvas will recognize.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

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

Parameters

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

A collection of application gestures that the InkCanvas will recognize.

Exception Condition
InvalidOperationException

The IsGestureRecognizerAvailable property is false.

The following example demonstrates how to set up an InkCanvas to recognize application gestures.

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

.NET Framework
Available since 3.0
Return to top
Show: