Determine the layout position of an element using the LayoutInformation