Is there a possible way to remove (delete) all images (children) added to a Canvas in C# (in WFP)?
Is there a possible way to remove (delete) all images (children) added to a
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do you mean you just want to remove all the child elements?
looks like it should do the job.
EDIT: If you only want to remove the
Imageelements, you can use:This assumes all the images are direct child elements though – if you want to remove
Imageelements under other elements, it becomes trickier.