Delete selected objects from canvas
I m adding dynamically rectangle,ellipse etc inside the canvas........Clicking on Delete button, i want to delete the selected shape ........ Suggest some suitable solutions for deleting particular object from canvas
Answers & Comments...
Answer: 1
Answer: 2
Answer: 3
Answer: 1
MyCanvas.Children.Remove(MyObject);
Answer: 2
But i m able to know whether the selected object is rectangle,ellipse or any other shape???
Answer: 3
Jigna Punjabi
But i m able to know whether the selected object is rectangle,ellipse or any other shape???
What's the meaning? The seleted object is obvious i think.
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog