public void ChangeContent(string target) { var item = ContentList.Find(x => x.DisplayName == target); if (item == null) { CurrentContent = ContentList; } else { CurrentContent = item.Content; } RaisePropertyChanged(nameof(CurrentContent)); }