InkCanvas.GetEnabledGestures Methode

Definitie

Hiermee wordt een verzameling toepassingsbewegingen geretourneerd die worden herkend door 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)

Retouren

Een verzameling bewegingen die de InkCanvas herkent.

Uitzonderingen

Voorbeelden

In het volgende voorbeeld ziet u hoe u de ingeschakelde toepassingsbewegingen kunt ophalen uit de InkCanvas.

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

Van toepassing op