Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好吧,当我在 XamarinForms 上调用 TranslateTo 滚动视图时,ScrollX 和 ScrollY 都变为 0,这对我来说非常烦人,因为我们的布局设计需要那种动画。任何人都知道如何解决这个问题?
正如 Daniel Luberda 建议的那样,如果将滚动视图放在 contentview 中并转换 contentview,滚动视图的滚动索引不会返回 0。