Hi guys,
Is there a good way to check the position of an element? e.g. if I have two buttons on a page how can I find out which button is on the left and which one is on the right? or top and bottom?
So far I have found that whichever element is on the left (and I think created first in the visual tree) has a lower AbsoluteTagIndex. But that really only says which element came first. So I'm wondering if there's a better way.
I would love to hear any suggestions about this.
Thanks.
Is there a good way to check the position of an element? e.g. if I have two buttons on a page how can I find out which button is on the left and which one is on the right? or top and bottom?
So far I have found that whichever element is on the left (and I think created first in the visual tree) has a lower AbsoluteTagIndex. But that really only says which element came first. So I'm wondering if there's a better way.
I would love to hear any suggestions about this.
Thanks.