VisualStyleInformation.IsSupportedByOS Property

 

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)

public static bool IsSupportedByOS { 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
Show: