As my colleague Peter explained you in another thread - container shapes (the "Basket" I suppose) only visually contains other shapes / containers. The child shapes reside in the Children collection of the ContainerShape, but their parent is actually the Diagram. However, if you need to detect when a shape ("Fruit") is dropped in Container Shape ("Basket") - you can inherit the RadDiagramContainerShape class and override the OnItemsCollectionChanged
CustomContainerShape : RadDiagramContainerShape
sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
You can get the item/s which is/are dropped inside the container from event arguments - e.NewItems
I hope this information helps.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items