InkCanvas.ActiveEditingMode Property


Gets the current editing mode of the InkCanvas.

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

Public ReadOnly Property ActiveEditingMode As InkCanvasEditingMode

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft