Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetEnabledGestures Method

InkCanvas.GetEnabledGestures Method

Returns a collection of application gestures that are recognized by InkCanvas.

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

public ReadOnlyCollection<ApplicationGesture> GetEnabledGestures()

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ApplicationGesture>
A collection of gestures that the InkCanvas recognizes.

The following example demonstrates how to get the enabled application gestures from the InkCanvas.

ReadOnlyCollection<ApplicationGesture> enabledGestures = inkCanvas1.GetEnabledGestures();

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft