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 returnsat most dataitems even if it contains more.
I have even no assumption about that. Can anyone suggest?