After clicking the button in the Windows Store app, a control will be displayed next to the button Popup.
Positioning Popupusing its properties VerticalOffsetand HorizontalOffset(== coordinates relative to the upper left corner) is not a problem, but how can I get the position of the button relative to the screen to calculate the offsets correctly?
The button is located somewhere on the page and does not have a fixed position relative to the screen (for example, when placed in scroll mode, etc.). How to get the coordinates of the buttons?
source
share