Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
/** @property */ public boolean get_Cancel () /** @property */ public void set_Cancel (boolean value)
Property Valuetrue if the strokes are ink; false if the strokes are a gesture.
When the Gesture event occurs, the value of the Cancel property depends on the first GestureRecognitionResult in the collection returned by the GetGestureRecognitionResults method. If the value of the ApplicationGesture property is NoGesture, or if it is a gesture whose RecognitionConfidence is a value other than Strong, then Cancel is true. Otherwise Cancel is false. When Cancel is false, the InkCanvas adds the Strokes to its StrokeCollection. When Cancel is true, the strokes are not added to the InkCanvas.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.