private void EditorTextChanged(object sender, Kaxaml.Controls.TextChangedEventArgs e) { if (XamlDocument != null) { if (_IsInitializing) { _IsInitializing = false; } else { ClearDispatcherTimer(); AttemptParse(); } } }
void RaiseTextChangedEvent(string Text) { TextChangedEventArgs newEventArgs = new TextChangedEventArgs(KaxamlTextEditor.TextChangedEvent, Text); RaiseEvent(newEventArgs); }