ActiveEditingMode Property

InkCanvas.ActiveEditingMode Property


Gets the current editing mode of the InkCanvas.

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

public InkCanvasEditingMode ActiveEditingMode { 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.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft