// Create the OnPropertyChanged method to raise the event protected void OnPropertyChanged(string name) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); if (name != "BuiltText") { BuiltText = DocumentProcessor.BuildDocument(Text, AbstractFormElements.ToList()); } }