InkCanvas.GetEnabledGestures メソッド

定義

InkCanvas で認識されるアプリケーション ジェスチャのコレクションを返します。

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>

InkCanvas で認識されるジェスチャのコレクション。

例外

IsGestureRecognizerAvailable プロパティが false です。

次の例では、有効なアプリケーション ジェスチャを次から取得する方法を InkCanvas示します。

ReadOnlyCollection<ApplicationGesture> enabledGestures = inkCanvas1.GetEnabledGestures();
Dim enabledGestures As ReadOnlyCollection(Of ApplicationGesture) = _
                    inkCanvas1.GetEnabledGestures()

適用対象