GestureRecognizer.GetEnabledGestures Méthode

Définition

Obtient les mouvements que le GestureRecognizer reconnaît.

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)

Retours

ReadOnlyCollection<ApplicationGesture>

Un tableau de type ApplicationGesture qui contient des gestes que le GestureRecognizer est configuré pour reconnaître.

Exemples

L’exemple suivant montre comment obtenir les mouvements de l’application qu’un GestureRecognizer reconnaît.

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

S’applique à