InkCanvas.EditingModeInverted Property

Gets or sets the user editing mode that will be used with an InkCanvas when the stylus is held in an inverted position.

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

public InkCanvasEditingMode EditingModeInverted { get; set; }
/** @property */
public InkCanvasEditingMode get_EditingModeInverted ()

/** @property */
public void set_EditingModeInverted (InkCanvasEditingMode value)

public function get EditingModeInverted () : InkCanvasEditingMode

public function set EditingModeInverted (value : InkCanvasEditingMode)

<object EditingModeInverted="InkCanvasEditingMode" .../>

Property Value

The inverted editing mode of the InkCanvas.

This property controls the action that will be performed when the user interacts with the InkCanvas with the stylus in an inverted position, as opposed to a standard, tip-down position against the digitizer. If the tip is down, the InkCanvas will use the EditingMode property.

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);

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 Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions