Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Exception Condition

The IsGestureRecognizerAvailable property is false.

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

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

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft