简体   繁体   中英

WPF virtualization not working on windows 2008 server R2 with windows classic theme(aero disabled)

I am running into a weird problem with windows server 2008 R2. I have WPF app which has virtualization enabled (virtualization stack panel and lazy loading for the tree view). It works as exepcted on windows 7 system. However on a windows 2008 R2 system with the classic wndows theme(no aero aka destop experiance turned off), it does not. When I debug it the controls private properties indicate that virtualization is enabled, however my I see that all the data is fetched through my virtualized model.

EDIT: Enabled user experiance etc but not the windwos7 theme still the issues persists. This is on a TreeView control. I use thsi technique to enable data virtualization: http://www.codeproject.com/KB/WPF/WpfDataVirtualization.aspx

Any ideas as to what could be going on

WPF uses hardware acceleration to perform the rendering. You lose functionality whenever this is not present. Are you connecting to the server via Remote Desktop or with a direct console?

Blog post explaining the rendering options

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM