Controls Disappearing
I'm doing a wpf project on a windows embedded standard sp3 operating system and I noticed that occasionally controls disappear or parts of it go missing. This can only be reproduced when using the xp embedded machine so it may 开发者_开发百科have something to do with the drivers or operating system. I thought it might have been related to using the aero theme, but the issue still persists even though it was completely removed. In the screenshot below there should be two buttons under the "24" button but they disappeared for some reason. You can see part of the control being partially rendered. I have also seen text boxes cut in half and progress bars not being rendered properly. Has anyone seen this issue?
Standard bat-signal sign of violating threading requirements. Don't mess with controls in a worker thread.
Turns out this happened because I was using the Blur effect on the styling of each of the buttons which the hardware could not handle properly.
精彩评论