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.

Exception Condition

The IsGestureRecognizerAvailable property is false.

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

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