/// <summary> /// Initializes a new instance of the WizardPage_EnterText class. /// </summary> /// <param name="importDeckWizardVM">The parent Wizard that will use this Page</param> /// <param name="isStartPage">A value indicating whether this page is the first page shown to the user or not</param> public WizardPage_EnterText(ImportDeckWizardVM importDeckWizardVM, bool isStartPage) : base(importDeckWizardVM) { this._IsStartPage = isStartPage; this.CanMoveToNextStep = false; foreach (string sectionName in importDeckWizardVM.Converter.ConverterGame.DeckSectionNames) { SectionText sectionText = new SectionText(sectionName); sectionText.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(this.SectionText_PropertyChanged); this._SectionsText.Add(sectionText); } }