滚动条移动时停止刷新列表框

问题描述 投票:0回答:1

是否可以仅在释放鼠标左键后滚动和刷新时才停止刷新ListBox内容?

c# wpf listbox scrollview scrollbar
1个回答
1
投票

您需要通过设置附加属性ScrollViewerListBoxScrollViewer.IsDeferredScrolling配置为延迟内容呈现:

ScrollViewer.IsDeferredScrolling
© www.soinside.com 2019 - 2024. All rights reserved.