private void InitWordList() { _wordListModel = new WordListModel(); var wordList = WordListCreator.CreateDefaultWordList(); _wordListModel.AddWords(wordList); WordList = CreateWords(wordList); PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(WordList))); }
private void UpdateSpellingList(WordListModel wordStrings) { SpellingList = new WordList(wordStrings.words); spellingListText.SetText(wordStrings.title); }
public PageWordList() { InitializeComponent(); DataContext = new WordListModel(); }