Aracılığıyla paylaş


GestureRecognizer.GetEnabledGestures Yöntem

Tanım

öğesinin GestureRecognizer tanıdığı hareketleri alır.

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)

Döndürülenler

ReadOnlyCollection<ApplicationGesture>

hareketleri içeren GestureRecognizer tür ApplicationGesture dizisi, tanıyacak şekilde ayarlanır.

Örnekler

Aşağıdaki örnek, bir GestureRecognizer tarafından tanınan uygulama hareketlerinin nasıl alındığını gösterir.

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

Şunlara uygulanır