We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Object Delete Notification


Hi,

I am creating some rectangles dynamically using the code.

Syncfusion.Windows.Forms.Diagram.Rectangle regionRect = new Syncfusion.Windows.Forms.Diagram.Rectangle(10,10,50,50);

this.model1.AppendChild(regionRect);

When the User Selects / Clicks a particular rectangle, how can retrieve the properties of that selected rectangle?

Moreover, I am adding the rectangles to my collection.
When the user deletes the rectangle, how do I know which rectangle is deleted.

All i need to know is whenever the user selects or deletes a rectangle, I need the properties of that selected object. Howe Can I get this?

Version Number: 6.3.0.32

Thanks in advance,
Murali

Loader.
Live Chat Icon For mobile
Up arrow icon