https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.modeling.elementdeletingeventargs?view=visualstudiosdk-2022
ElementDeletingEventArgs Class (Microsoft.VisualStudio.Modeling) | Microsoft Learn
Event Arguments for notification of the pending removal of a ModelElement
classmicrosoftvisualstudiomodelinglearn