public void AddExistingBookTagCommandAction() { if (!string.IsNullOrEmpty(ExistingBookNewTagText)) { if (!ExistingBookTags.Contains(ExistingBookNewTagText)) { ExistingBookTags.Add(ExistingBookNewTagText); OnPropertyChanged(() => ExistingBookDisplayTags); ExistingBookNewTagText = string.Empty; } } }
public void ClearExistingBookTagsCommandAction() { ExistingBookTags.Clear(); OnPropertyChanged(() => ExistingBookDisplayTags); ExistingBookNewTagText = string.Empty; }