VisualStyleInformation.Version Property


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

Gets the version of the current visual style.

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

public static string Version { get; }

Property Value

Type: System.String

A string that indicates the version of the current visual style if visual styles are enabled; otherwise, an empty string ("").

This property checks the value of the IsEnabledByUser property internally.

.NET Framework
Available since 2.0
Return to top