| Subject: WPF TextBlock Repaint Issue? |
| Group: microsoft.public.windows.developer.winfx.fundamentals |
| Date: 12/8/2007 6:56:45 PM |
| From: jpuopolo [Email Address Protection] |
All: I have a pretty simple test Windows Presentation Foundation (WPF) application - a Window with a dark blue background. On the Window, I place a TextBlock with Arial white bold font... When I click on the TextBlock, I generate a random string and place it in the TextBlock, e.g., MyTextBlock.Text = newText; For some reason, the TextBlock does not always repaint cleanly - there is sometime "cruft" left over from whatever text was previously in the text field. I've tried explicitly setting the TextBlock's background as well - no effect. Also, when I resize the (parent) window, there is sometime "holes" left in the background. Could this be some sort of weird video card issue? I have a pretty new DELL D620 running Windows XP and the new (released) Visual Studio 2008 bits.... Thoughts? Thanks, John |
| Back |