문제

I have control/user controls placed in a scroll able container. Now if a user has scrolled, then the control's position changes. I want to save the position of a few user controls (which are movable), so that I can load it on a specified position on the next load. The issue is, if a user has scrolled in the container then the positions are not the exact location in the container. How can I get the exact position in the container?

I tried to add scroll position which will fix the issue, but my user control may be used in nested scrollable controls in the future so it will create issues. The save position code is at user control.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top