InkCanvas::ActiveEditingMode Property


Gets the current editing mode of the InkCanvas.

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

property InkCanvasEditingMode ActiveEditingMode {
	InkCanvasEditingMode get();

Property Value

Type: System.Windows.Controls::InkCanvasEditingMode

The current editing mode of the InkCanvas.

The ActiveEditingMode property indicates the current InkCanvasEditingMode of the InkCanvas. Suppose that the EditingMode is set to Ink and the EditingModeInverted is set to EraseByPoint. When the tablet pen is used in an inverted position, ActiveEditingMode has a value of EraseByPoint. Otherwise, its value is Ink.

Identifier field


Metadata properties set to true


The following example reports the value of ActiveEditingMode whenever it changes.

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

.NET Framework
Available since 3.0
Return to top