Can't get all Dataitems from Datagrid [UIAutomation, AutomationElement]


  • There is a AutomationElement with ControlType = Datagrid and content child items with ControlType = Dataitem. I just want to get all Dataitems. But the parent datagrid behaves strangely: it returns at most  5 dataitems even if it contains more.

    I have even no assumption about that. Can anyone suggest?

    • Edited by FireDire Tuesday, April 01, 2014 5:19 PM
    Thursday, March 20, 2014 7:06 PM