GestureRecognizer.GetEnabledGestures Metoda

Definice

Získá gesta, která GestureRecognizer rozpozná.

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)

Návraty

Pole typu ApplicationGesture , které obsahuje gesta, která jsou nastavena GestureRecognizer na rozpoznávání.

Příklady

Následující příklad ukazuje, jak získat gesta aplikace, která GestureRecognizer rozpozná.

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

Platí pro