InkCanvas.ActiveEditingMode Property

 

Gets the current editing mode of the InkCanvas.

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

member ActiveEditingMode : InkCanvasEditingMode with 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

ActiveEditingModeProperty

Metadata properties set to true

None

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
Show: