Partilhar via


GestureRecognizer.GetEnabledGestures Método

Definição

Obtém os gestos do que o GestureRecognizer reconhece.

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)

Retornos

ReadOnlyCollection<ApplicationGesture>

Uma matriz do tipo ApplicationGesture que contém gestos que o GestureRecognizer está configurado para reconhecer.

Exemplos

O exemplo a seguir demonstra como obter os gestos de aplicativo que um GestureRecognizer reconhece.

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

Aplica-se a