Hi Bernhard,
Thanks you for your reply,
But in Metro, I can use below method get all element,
Even the element is not in the view,
I also can use "ScrollIntoView" to invoke this element into view.
---------Metro------------
Code: Select all
TreeWalker _walker=TreeWalker.RawViewWalket;
Element = _walker.GetfirstChild(GridView);
while(Element!=null)
{
Element.ScrollIntoView();
Element = _walker.GetNextSibling(Element);
}
---------------------------
But in iPhone, I can not use table.child[i+1].scrollintoView to get all element in table.
and I use
Code: Select all
Node.Element.Parent.InvokeActionWithText("ScrollTable", i.ToString(), j.ToString());
to invoke element in to view, but I don't know which child[index] is my target?
tempID can't use and some time Child[index] not match on visual UI.
(Because table generate the element is dynamic in iPhone)
Now I use Compare to record which Element is not in my list.
But performance is not good.
Has any function or method can search all Table child element,
event the element not in view?
(I also try EnsureVisible() on iPhone.Table.child.element, but this function not same with Metro scrollIntoView)
Thanks a lot,
Best Regards,
sincoew