Redigeeri

Jagamisviis:


InkCanvas.EditingModeInverted Property

Definition

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

public:
 property System::Windows::Controls::InkCanvasEditingMode EditingModeInverted { System::Windows::Controls::InkCanvasEditingMode get(); void set(System::Windows::Controls::InkCanvasEditingMode value); };
public System.Windows.Controls.InkCanvasEditingMode EditingModeInverted { get; set; }
member this.EditingModeInverted : System.Windows.Controls.InkCanvasEditingMode with get, set
Public Property EditingModeInverted As InkCanvasEditingMode

Property Value

The inverted editing mode of the InkCanvas.

Examples

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);
inkCanvas1.EditingModeInverted = InkCanvasEditingMode.EraseByPoint
inkCanvas1.EraserShape = New EllipseStylusShape(5, 5)

Remarks

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,

Dependency Property Information

Identifier field EditingModeInvertedProperty
Metadata properties set to true None

Applies to