System.Windows.Forms.OSFeature.LayeredWindows Field

Represents the layered, top-level windows feature. This field is read-only.

Value: null

Syntax

public static readonly object LayeredWindows

Remarks

A layered window can be made transparent or translucent by the operating system. Support for layered windows was first introduced in Windows 2000. For more information, see the "Layered Windows: A New Way to Use Translucency and Transparency Effects in Windows Applications" in the Platform SDK documentation at http://msdn.microsoft.com.

To determine if the layered windows feature is installed, use the OSFeature.Feature property to call the base class method FeatureSupport.IsPresent(object) with OSFeature.LayeredWindows as the feature to look for.

Alternatively, you can check to see if the feature is installed by calling the OSFeature.GetVersionPresent(object) method with OSFeature.LayeredWindows as the feature to find.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0