InkCanvas::EditingMode 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 used by an active pointing device.

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

public:
property InkCanvasEditingMode EditingMode {
	InkCanvasEditingMode get();
	void set(InkCanvasEditingMode value);
}

Property Value

Type: System.Windows.Controls::InkCanvasEditingMode

The editing mode used when a pointing device (such as a tablet pen or mouse) is active.

The default EditingMode is Ink. Changing the EditingMode clears any existing selections.

The EditingMode specifies the mode of the pointing device as it interacts with the InkCanvas. EditingModeInverted is used by some digitizers when the "eraser end" of the stylus contacts the digitizer.

Identifier field

EditingModeProperty

Metadata properties set to true

None

The following example creates an application that uses the various types of editing modes on an InkCanvas.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: