private void eraseBtn_Click(object sender, RoutedEventArgs e) { drawingPane.EditingMode = InkCanvasEditingMode.EraseByPoint; }