VisualStyleInformation.IsSupportedByOS Property     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the operating system supports visual styles.
public:
 static property bool IsSupportedByOS { bool get(); };
	public static bool IsSupportedByOS { get; }
	static member IsSupportedByOS : bool
	Public Shared ReadOnly Property IsSupportedByOS As Boolean
	Property Value
true if the operating system supports visual styles; otherwise, false.
Remarks
Visual styles are supported only on Windows XP Home Edition, Windows XP Professional, and Windows Server 2003.