InkCanvas.GetEnabledGestures Method

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

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

'Declaration
Public Function GetEnabledGestures As ReadOnlyCollection(Of ApplicationGesture)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection(Of ApplicationGesture)
A collection of gestures that the InkCanvas recognizes.

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

Dim enabledGestures As ReadOnlyCollection(Of ApplicationGesture) = _
                    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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft