Catel.MVVM.CommandManager.ResetInputGestures C# (CSharp) Method

ResetInputGestures() public method

Resets the input gestures to the original input gestures with which the commands were registered.
public ResetInputGestures ( ) : void
return void
        public void ResetInputGestures()
        {
            lock (_lockObject)
            {
                Log.Info("Resetting input gestures");

                foreach (var command in _commands)
                {
                    Log.Debug("Resetting input gesture for command '{0}' to '{1}'", command.Key, _originalCommandGestures[command.Key]);

                    _commandGestures[command.Key] = _originalCommandGestures[command.Key];
                }
            }
        }