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.
我已经编写了如下菜单,除了一件事之外它运行良好。当我拖动 GridView 的内容时,它会稍微移动,在这种情况下看起来很糟糕。有什么财产或方法可以阻止它。它是菜单,所以我喜欢拖动时内容不移动。
您是否尝试过禁用ScrollViewer控件,像这样......
ScrollViewer
<GridView ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.HorizontalScrollMode="Disabled"> <!--Your Content--> </GridView>