public bool Update(int key) { if (_shortcuts.UpdateKey(_name, key)) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Text))); return(true); } return(false); }
public bool Update(int key) { if (_shortcuts.UpdateKey(_name, key)) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Text))); return(true); } return(false); }