InkCanvas.GetEnabledGestures Metoda

Definicja

Zwraca kolekcję gestów aplikacji rozpoznawanych przez InkCanvasprogram .

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)

Zwraca

Kolekcja gestów rozpoznawanych InkCanvas .

Wyjątki

Przykłady

W poniższym przykładzie pokazano, jak uzyskać gesty włączonej aplikacji z elementu InkCanvas.

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

Dotyczy