.NET Framework 4.6 and 4.5
PresentationFramework (in PresentationFramework.dll)
public event RoutedEventHandler EditingModeChanged
This event occurs after the editing mode has been changed; the changes are reflected in the EditingMode property of the InkCanvas.
The following example checks whether the EditingMode property is set to Ink or Select.
void inkCanvas1_EditingModeChanged(object sender, EventArgs e)
if (inkCanvas1.EditingMode == InkCanvasEditingMode.Ink)
modeLabel.Text = "Ink";
else if (inkCanvas1.EditingMode == InkCanvasEditingMode.Select)
modeLabel.Text = "select";
Return to top
Available since 3.0