private void View_StopActionEvent() { BackgroundAction action = View.SelectedTask; if (null != action) { Log.debug("Cancel action:" + action); action.cancel(); } }