GestureRecognizer.GetEnabledGestures メソッド

定義

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)

返品

ApplicationGestureが認識するように設定されているジェスチャを含むGestureRecognizer型の配列。

次の例では、 GestureRecognizer が認識するアプリケーション ジェスチャを取得する方法を示します。

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

適用対象