Restyle your window

Until recently, creating a custom window style in Windows Presentation Foundation was quite a challenging task. You had to implement the window’s behavior from scratch. Resizing, moving and all other typically window related functionality had to be reinvented and reimplemented just because you wanted the window header bar to look different. You could also (and still can if you …

By Mirek on (tags: style, WindowChrome, WPF, categories: code)

Keep your culture consistent among threads.

Have you ever had a problem that your multithreaded application lost a culture context ? Have you found a good solution for this? I did. My application had to support different cultures. So I simply set the required culture on my application’s current thread like this Then I noticed that worker threads, that I am using somewhere during the application runtime, don’t know anythi…

By Mirek on (tags: CultureInfo, localization, thread, categories: code)

Want to learn Blend for Visual Studio?

This is definitely the best resource to start with then. Jerry Nixon together with Unni Ravindranathan created a Blend for Visual Studio tutorial. It is over six hours long video tutorial and is available for free here or in Microsoft Virtual Academy as a Jump start.…

By Mirek on (tags: Blend, categories: web)