March 2010
Intermediate to advanced
1216 pages
33h 44m
English
Surprisingly, WPF still doesn't have any built-in way for you to take advantage of the Aero glass effect first introduced in Windows Vista and supported in Windows 7. It gives windows their familiar blurred glass frames, through which you can see other windows and their content.
Before you go any further, it's worth noting that Aero glass won't work on Windows XP. To avoid problems, you should write code that checks the operating system and degrades gracefully when necessary. The easiest way to determine whether you're running on Windows Vista is to read the static OSVersion property from the System.Environment class. Here's how it works:
if (Environment.OSVersion.Version.Major >= 6) { // Vista features are supported. ...Read now
Unlock full access