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
InvalidOperationException

The IsGestureRecognizerAvailable property is false.

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

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: