GestureRecognizer.GetEnabledGestures Methode

Definitie

Hiermee haalt u de bewegingen op die door de GestureRecognizer gebruiker worden herkend.

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)

Retouren

Een matrix van het type ApplicationGesture dat bewegingen bevat die is GestureRecognizer ingesteld om te herkennen.

Voorbeelden

In het volgende voorbeeld ziet u hoe u de toepassingsbewegingen kunt ophalen die door een toepassing GestureRecognizer worden herkend.

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

Van toepassing op