I want to center an element, not based on the view but based on what part of the screen the users sees. The problem is that the view is expanded during certain action and thus is larger than the screen. This causes the element that is supposed to be in the center is dragged down making it no longer visible when the user is at the top of the view. How do I either track where the users screen is or track how they scroll without using a scrollable view. This is for a windows app. Thanks for the help.
I tried the built in center, as well as getting the dimensions of the view and centering it according to those, however as the page expands vertically the element I want to center is pulled down accordingly.
user25455424 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.