Files
docs-desktop/dotnet-desktop-guide/framework/wpf/advanced/how-to-recognize-application-gestures.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

1.0 KiB

title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
title ms.date dev_langs helpviewer_keywords ms.assetid
How To: Recognize Application Gestures 03/30/2017
csharp
vb
application gestures [WPF], recognizing
gestures [WPF], recognizing
d58b740f-5192-4a3e-af59-7aa162e6ca15

How To: Recognize Application Gestures

The following example demonstrates how to erase ink when a user makes a xref:System.Windows.Ink.ApplicationGesture.ScratchOut gesture on an xref:System.Windows.Controls.InkCanvas. This example assumes an xref:System.Windows.Controls.InkCanvas, called inkCanvas1, is declared in the XAML file.

Example

[!code-csharpHowToRecognizeGestures#1] [!code-vbHowToRecognizeGestures#1]

See also