However, if I access the XML of the word document within my ThisDocument class, by doing the following (as an example):
MessageBox
.Show(Application.Selection.get_XML(false));It seems to cause the environment to go out of sync with the event handling and the event handler above does not get called.
Any input on this strange behaviour

EventHandlers not firing inside ThisDocument class in Word
jrwalker2
this.Content.get_XML(
false)Don't ask me why it makes a difference, but it does. Any takers on explaining this