VisualStyleInformation Class
TOC
Collapse the table of content
Expand the table of content

VisualStyleInformation Class

 

Provides information about the current visual style of the operating system.

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

System.Object
  System.Windows.Forms.VisualStyles.VisualStyleInformation

[<AbstractClass>]
[<Sealed>]
type VisualStyleInformation = class end

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAuthor

Gets the author of the current visual style.

System_CAPS_pubpropertySystem_CAPS_staticColorScheme

Gets the color scheme of the current visual style.

System_CAPS_pubpropertySystem_CAPS_staticCompany

Gets the company that created the current visual style.

System_CAPS_pubpropertySystem_CAPS_staticControlHighlightHot

Gets the color that the current visual style uses to indicate the hot state of a control.

System_CAPS_pubpropertySystem_CAPS_staticCopyright

Gets the copyright of the current visual style.

System_CAPS_pubpropertySystem_CAPS_staticDescription

Gets a description of the current visual style.

System_CAPS_pubpropertySystem_CAPS_staticDisplayName

Gets the display name of the current visual style.

System_CAPS_pubpropertySystem_CAPS_staticIsEnabledByUser

Gets a value indicating whether the user has enabled visual styles in the operating system.

System_CAPS_pubpropertySystem_CAPS_staticIsSupportedByOS

Gets a value indicating whether the operating system supports visual styles.

System_CAPS_pubpropertySystem_CAPS_staticMinimumColorDepth

Gets the minimum color depth for the current visual style.

System_CAPS_pubpropertySystem_CAPS_staticSize

Gets a string that describes the size of the current visual style.

System_CAPS_pubpropertySystem_CAPS_staticSupportsFlatMenus

Gets a value indicating whether the current visual style supports flat menus.

System_CAPS_pubpropertySystem_CAPS_staticTextControlBorder

Gets the color that the current visual style uses to paint the borders of controls that contain text.

System_CAPS_pubpropertySystem_CAPS_staticUrl

Gets a URL provided by the author of the current visual style.

System_CAPS_pubpropertySystem_CAPS_staticVersion

Gets the version of the current visual style.

This class exposes static properties that provide details about the current visual style of the operating system.

WinXpFamily

Visual styles are supported only on these platforms.

The following code example displays the values of the VisualStyleInformation properties in a ListView control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft