System.Windows.Forms
1.0.5000.0
2.0.0.0
System.Windows.Forms.FeatureSupport
Use the static instance of this class provided in the property to query for operating system features. You cannot create an instance of this class.
To determine the version of a feature, call the method. To determine if a feature or a specific version is present, call the method and specify the feature to look for with the feature identifiers provided in this class.
Provides operating-system specific feature queries.
Constructor
This class cannot be instantiated. To query for operating system features, use the static instance of provided in this class.
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.OSFeature
To be added.
Use this static property to query for operating system features. You cannot create an instance of this class.
To determine the version of a feature, call the method. To determine if a feature or a specific version is present, call the method and specify the feature to look for with the feature identifiers provided in this class.
Gets a static instance of the class to use for feature queries. This property is read-only.
1.0.5000.0
2.0.0.0
Method
System.Version
Use the property, the static instance of provided in this class, to query for the version number of a feature.
Retrieves the version of the specified feature currently available on the system.
A representing the version of the specified operating system feature currently available on the system; or null if the feature cannot be found.
The feature whose version is requested, either or .
1.0.5000.0
2.0.0.0
Method
2.0.0.0
System.Boolean
Typically, you use the method to determine if the operating system supports the specific feature or metric identified by . Based upon the value returned from , you would perform conditional actions in your code. For example, if calling this method with a parameter value of returns true, you could create owner-drawn menus in your application in a flat style.
Accessing some system features or metrics can raise exceptions if they are not available on a specific operating system version. In this case, first use the corresponding enumeration value, along with , to determine if the metric is supported. For example, call with before getting the property value.
Retrieves a value indicating whether the operating system supports the specified feature or metric.
true if the feature is available on the system; otherwise, false.
A representing the feature to search for.
Field
System.Object
null
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 property to call the base class method with as the feature to look for.
Alternatively, you can check to see if the feature is installed by calling the method with as the feature to find.
Represents the layered, top-level windows feature. This field is read-only.
1.0.5000.0
2.0.0.0
Field
System.Object
null
A theme is a collection of visual interface settings that include wallpaper, cursors, fonts, sounds, and icons first introduced in Microsoft Plus! for Windows 95. The .NET Framework does not directly support manipulating themes, although it does have extensive support for visual styles in the namespace. For more information about Windows Themes, see the topics Themes and Visual Styles and Visual Styles Reference in the Win32 SDK.
To determine if the themes feature is installed, call the base class method with as the feature to look for.
Alternatively, you can check to see if the feature is installed by calling the method with as the feature to find.
Represents the operating system themes feature. This field is read-only.
1.0.5000.0
2.0.0.0