matthew_morgan
11 years agoOccasional Contributor
Unnamed WPF Objects
I have an application written using WPF that has a truely astonishing number of controls without native names (several hundred). I read through the article pertaining to this subject (http://support....
- 11 years agoHey so I just posted something similar on other threat.
I'll repeat, but I think it's useful for you:
I'm currently testing a WPF based application.
I use a combination of both methods: whenever I can use 'NameMapping' I do, whenever I can't I use a function I made which receives the parent object (usually mapped name), property/ies and value/s and it handles zero, one and many objects found.
So I use as much as I can the NameMappings. And whenever there's no useful property/value pairs to identify an object I grab the application code, name the objects myself and next build I'm ready to go.
Cheers,
Leandro