Generically setting search property

Nov 30, 2012 at 4:15 PM

I am working with VS 2010 C# dialect and am trying to 'generacize' code like following

ctrl.SearchProperties[WpfMenuItem.PropertyNames.Name] = name;

In the above line ctrl is a WpfMenuItem.

Is there a way to do that in either VS 2010 or CUITe?

Thanks

 

 

Coordinator
Jan 17, 2013 at 8:10 AM

Hi BeyMelamed,

I'm not sure I understand your problem.

Can you describe the problem in more detail with an example of what you expect your code to look like?

Thank you.