wpf ScrollViewer自动滚到最上
作者:互联网
是
ScrollViewer
-listbox
结构
listbox选择一项后自动滚到最上边
解决方法:
<ListboxGrid.Column="2" Width="auto" HorizontalAlignment="Right" **ScrollViewer.CanContentScroll="True" **ScrollViewer.VerticalScrollBarVisibility="Auto">
记录一下
标签:ScrollViewer,最上,listbox,自动,wpf,滚到 来源: https://www.cnblogs.com/swobble/p/15039690.html