阅读背景:

在scrollviewer中的WPF/ c# Textwrapping使窗口大小延迟

来源:互联网 

Hy.

Hy。

I have got a ListBox with a scrollviewer in it. Each item (40++ items) of the listbox contains a textblock and a small image. When I resize the window, the resizing is very laggy. If I put the textblock visibility of the items to "collapsed", the resizing is okay. My first approach was to set the visibility of each item not displayed in the scrollviewer to "collapsed", but I couldn't find an indicator when a item is visible to the user.I have got a ListBox with a scrollv




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: