InkCanvas.SetEnabledGestures Method (IEnumerable<ApplicationGesture>)

 

Sets the application gestures that the InkCanvas will recognize.

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

member SetEnabledGestures : 
        applicationGestures:IEnumerable<ApplicationGesture> -> unit

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: