private void AddItem() { SettingTopicItem newTopic = Topics.FirstOrDefault(x => x is NewSettingTopicItem); int indexOf = Topics.IndexOf(newTopic); Topics.Insert(indexOf, new SettingTopicItem("new_topic")); }
private void RemoveItem(SettingTopicItem settingTopicItem) { Topics.Remove(settingTopicItem); }