public void ResetEventLists () { AutomationEvents.Clear (); AutomationPropertyChangedEvents.Clear (); StructureChangedEvents.Clear (); } #endregion