This project is read-only.

Custom Property enclosing User controls

Sep 10, 2009 at 10:12 PM


I have custom property defined using Dependency in my User control which encloses the Custom / standard controls.

How do i retrieve such controls ?

For example :

I have a property MenuContent , which encloses a button ?

Is this feasible by creating a CustomUI test ?


Pls show any thread to help.


Sep 16, 2009 at 2:18 PM

Hi Visa1234,

Are these controls visible in UISpy? If not, these controls are owner drawn. I've got a question regarding this in thread:

But it is not answered yet. Please let me know when you find a solution.

Kind regards,

Roel Alblas

Sep 16, 2009 at 3:44 PM
Edited Sep 17, 2009 at 10:04 PM
No , we are not using UI spy since i does not spy most of the controls, we use Snoop as a object spy which is able to spy this object.
The actual issue is the custom controls are embedded within Dependency property