Partilhar via


InkCanvas.GetEnabledGestures Método

Definição

Retorna uma coleção de gestos de aplicativos que são reconhecidos pelo 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)

Retornos

ReadOnlyCollection<ApplicationGesture>

Obtém os gestos reconhecidos pelo InkCanvas.

Exceções

Exemplos

O exemplo a seguir demonstra como obter os gestos de aplicativo habilitados do InkCanvas.

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

Aplica-se a