public void CancelAllActionsAndCommands(bool keepUnreleaseCmd = false) { if (_actionMgr != null) { _actionMgr.CleanActions(); } if (_commandMgr != null) { _commandMgr.CancelAll(keepUnreleaseCmd); } }