VisualStyleInformation::IsSupportedByOS Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether the operating system supports visual styles.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

property bool IsSupportedByOS {
	static bool get();

Property Value

Type: System::Boolean

true if the operating system supports visual styles; otherwise, false.

Visual styles are supported only on Windows XP Home Edition, Windows XP Professional, and Windows Server 2003.

.NET Framework
Available since 2.0
Return to top