共用方式為


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()

適用於