Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Use this event is not recommended. But if you have no another choice, you need to be careful in handling of this event.

If you create any document modification, the event is fired again and again. Up to StackOverflowException.

 

In this case i necessary to check if you are currently handling this event. This asample is not complete, but demonstrates how to achieve this.

private void OnChange (...){
   if(currentlyHandling) return;
   currentlyHandling = true;

   //DO SOMETHING

   currentlyHandling = false;
}