Hi,
I have an addin, using which users can drop controls on the document. The controls can be dropped as single or a set of controls i.e multiple controls logically associated to each other. Deletion is fine with the single controls, but for associated controls, either all of them should be there on the document or none.
I mean, when a user selects an associated content control and tries to delete it, I want to show a popup (Y/N type) saying "all associated controls will be deleted". If user chooses Yes, then delete all related controls else abort the deletion and keep all the related content controls.
The ContentControlBeforeDelete event does not have any property which I can set to false so that it skips deletion.
Please help.
Thanks,
Abhishek