Custom Property enclosing User controls

Sep 10, 2009 at 9:12 PM

Hi,

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 1: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:

http://white.codeplex.com/Thread/View.aspx?ThreadId=68394

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

Kind regards,

Roel Alblas

Sep 16, 2009 at 2:44 PM
Edited Sep 17, 2009 at 9: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
 
regards,
Visa