How to detect elements drawn on canvas?

Best practices, code snippets for common functionality, examples, and guidelines.
Brent Arata
Posts: 12
Joined: Mon Jan 27, 2014 10:33 pm

How to detect elements drawn on canvas?

Post by Brent Arata » Fri Nov 21, 2014 11:15 pm

Platform: Windows 8.1 WPF.

Is there an interface that we can implement so we can extend off of the shape class and implement that interface so that Ranorex can detect whether certain canvas elements are rendered on screen? I think I may have seen this to be a feature request for Ranorex but I want to make sure.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How to detect elements drawn on canvas?

Post by Support Team » Mon Nov 24, 2014 5:16 pm

Hi Brent,

This sounds very similar to the issue described in this post: WPF support of System.Windows.Shapes available?.
Please do let me know if the solution described there also works for you.

Regards,
Markus