次の方法で共有


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)

戻り値

ReadOnlyCollection<ApplicationGesture>

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

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

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

適用対象