InkCanvas.GetEnabledGestures Metoda

Definice

Vrátí kolekci gest aplikace, která jsou rozpoznána 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)

Návraty

ReadOnlyCollection<ApplicationGesture>

Kolekce gest, která InkCanvas rozpoznává.

Výjimky

Příklady

Následující příklad ukazuje, jak získat povolená gesta aplikace z InkCanvas.

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

Platí pro