GestureRecognizer.GetEnabledGestures Metoda

Definicja

Pobiera gesty rozpoznawane przez program GestureRecognizer .

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)

Zwraca

Tablica typu ApplicationGesture zawierająca gesty, GestureRecognizer które ma być rozpoznawana.

Przykłady

W poniższym przykładzie pokazano, jak uzyskać gesty aplikacji rozpoznawane przez element GestureRecognizer .

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

Dotyczy