[2.0 Beta] UI Automation broken for VS2010 theme

Jun 12, 2012 at 11:55 AM

I am working on an application that uses the AvalonDock (upgraded from 1.3).

UI Automation works fine with 1.3, and for the vanilla 2.0 theme.

But when I switch to the VS2010 theme, the LayoutDocumentPaneControl does not have any children using FindAll(TreeScope.Children, Condition.TrueCondition).

 

Does anyone have an idea why this is the case?

Jun 13, 2012 at 7:37 AM

Issue resolved. A colleague was using a ContentControl rather than a UserControl for our screens(workspaces). Changing this back, solved the issue. So UI Automation does work in AvalonDock now.

Why there would be different behaviour for the styles before, it still beyond me, but no longer important.