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