UIAutomation to open ComboBox from Code
In WPF there’s an Automation Framework called UIAutomation. This Framework can be used to control UIElements from code. This can be useful for different scenarios:
Provide the user additional help
Control a programm by another programm
Test applications
Execute a user-action from code
…
The Automation Frameowork isn’t limited to WPF. You can also control Win32-Applications.
In WPF for every FrameworkElement you [...]
Lesen Sie den vollständigen Eintrag unter http://www.thomasclaudiushuber.com/blog/2008/05/18/uiautomation-to-open-combobox-from-code/