OSFeature.Themes Field

Definition

Represents the operating system themes feature. This field is read-only.

C#
public static readonly object Themes;

Field Value

Remarks

A theme is a collection of visual interface settings that include wallpaper, cursors, fonts, sounds, and icons. .NET Framework does not directly support manipulating themes, although it does have extensive support for visual styles in the System.Windows.Forms.VisualStyles namespace. For more information about Windows Themes, see Visual styles.

To determine if the themes feature is installed, call the base class method IsPresent with Themes as the feature to look for.

Alternatively, you can check to see if the feature is installed by calling the GetVersionPresent method with Themes as the feature to find.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also