|
Hi.
I have a custom composite activity, and I don't want that an activity of the same type is inserted as child of it, in any level.
I don't have problems when I want to insert the same type activity as a direct child, because I can override the CanInsertActivities on the my designer.
But if I add a composite activity, I cannot find out how can I forbid to add an activity of the parent type inside it....
(Like a similar behaviour when adding a transactionscope that is indirectly a child of another transactionscope, but instead of showing the validator, I don't want the user to be allowed to add it...)
Thanks in advance, Matias |