GestureRecognizer.GetEnabledGestures Metod

Definition

Hämtar de gester som GestureRecognizer känner igen.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Ink::ApplicationGesture> ^ GetEnabledGestures();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Ink.ApplicationGesture> GetEnabledGestures();
member this.GetEnabledGestures : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Ink.ApplicationGesture>
Public Function GetEnabledGestures () As ReadOnlyCollection(Of ApplicationGesture)

Returer

En matris av typen ApplicationGesture som innehåller gester som GestureRecognizer är inställd på att identifieras.

Exempel

I följande exempel visas hur du hämtar de programgester som en GestureRecognizer identifierar.

ReadOnlyCollection<ApplicationGesture> enableGestures = recognizer.GetEnabledGestures();
Dim enableGestures As ReadOnlyCollection(Of ApplicationGesture)
enableGestures = recognizer.GetEnabledGestures()

Gäller för