InkCanvas.EditingModeInverted Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the user editing mode if the stylus is inverted when it interacts with the InkCanvas.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public InkCanvasEditingMode EditingModeInverted { get; set; }

Property Value

Type: System.Windows.Controls.InkCanvasEditingMode

The inverted editing mode of the InkCanvas.

This property controls the actions that are performed when the stylus is inverted.

Similarly, the EditingMode property controls actions that are performed when the stylus is in a standard, tip-down position against the digitizer,

Identifier field

EditingModeInvertedProperty

Metadata properties set to true

None

The following example demonstrates how to allow a user to partially erase strokes with the inverted tip of a stylus. An elliptical cursor appears on the InkCanvas when the user erases ink.

inkCanvas1.EditingModeInverted = InkCanvasEditingMode.EraseByPoint;
inkCanvas1.EraserShape = new EllipseStylusShape(5, 5);

.NET Framework
Available since 3.0
Return to top
Show: