System.Windows.Forms.VisualStyles Namespace

The System.Windows.Forms.VisualStyles namespace contains classes for rendering controls and other Windows user interface (UI) elements with visual styles in operating systems that support them.

Remarks

The System.Windows.Forms.VisualStyles namespace contains the following main classes:

The System.Windows.Forms.VisualStyles namespace also includes a set of enumerations. Some of these enumerations, such as System.Windows.Forms.VisualStyles.PushButtonState and System.Windows.Forms.VisualStyles.ComboBoxState, provide state definitions for related visual style elements. Most of the other enumerations support System.Windows.Forms.VisualStyles.VisualStyleRenderer methods that return information about a particular element. For example, the System.Windows.Forms.VisualStyles.EnumProperty enumeration provides the possible argument values for the System.Windows.Forms.VisualStyles.VisualStyleRenderer.GetEnumValue(System.Windows.Forms.VisualStyles.EnumProperty) method. Finally, the System.Windows.Forms.VisualStyles.VisualStyleState enumeration provides values that define how visual styles are currently applied to the application.

Classes

TypeReason
BackgroundType

Specifies the source of a visual style element's background.

BooleanProperty

Identifies the Boolean properties of a visual style element.

BorderType

Specifies the border type of a visual style element with a filled-border background.

Button+CheckBoxDocumentation for this section has not yet been entered.
Button+GroupBoxDocumentation for this section has not yet been entered.
Button+PushButtonDocumentation for this section has not yet been entered.
Button+RadioButtonDocumentation for this section has not yet been entered.
Button+UserButtonDocumentation for this section has not yet been entered.
CheckBoxState

Specifies the visual state of a check box that is drawn with visual styles.

ColorProperty

Identifies the color properties of a visual style element.

ComboBox+DropDownButtonDocumentation for this section has not yet been entered.
ComboBoxState

Specifies the visual state of a combo box that is drawn with visual styles.

ContentAlignment

Specifies how text is aligned in a window caption.

EdgeEffects

Specifies the visual effects that can be applied to the edges of a visual style element.

Edges

Specifies which edges of a visual style element to draw.

EdgeStyle

Specifies the styles that can be applied to the edges of a visual style element.

EnumProperty

Identifies the enumerated type properties of a visual style element.

ExplorerBar+HeaderBackgroundDocumentation for this section has not yet been entered.
ExplorerBar+HeaderCloseDocumentation for this section has not yet been entered.
ExplorerBar+HeaderPinDocumentation for this section has not yet been entered.
ExplorerBar+IEBarMenuDocumentation for this section has not yet been entered.
ExplorerBar+NormalGroupBackgroundDocumentation for this section has not yet been entered.
ExplorerBar+NormalGroupCollapseDocumentation for this section has not yet been entered.
ExplorerBar+NormalGroupExpandDocumentation for this section has not yet been entered.
ExplorerBar+NormalGroupHeadDocumentation for this section has not yet been entered.
ExplorerBar+SpecialGroupBackgroundDocumentation for this section has not yet been entered.
ExplorerBar+SpecialGroupCollapseDocumentation for this section has not yet been entered.
ExplorerBar+SpecialGroupExpandDocumentation for this section has not yet been entered.
ExplorerBar+SpecialGroupHeadDocumentation for this section has not yet been entered.
FilenameProperty

Identifies the names of the image files that are used to draw a visual style element.

FillType

Specifies the interior of visual style elements with a filled border background.

FontProperty

Identifies the font properties of a visual style element.

GlyphFontSizingType

Specifies when the visual style selects a different glyph font size.

GlyphType

Specifies the type of glyph for elements with a bitmap background.

GroupBoxState

Specifies the visual state of a group box that is drawn with visual styles.

Header+ItemDocumentation for this section has not yet been entered.
Header+ItemLeftDocumentation for this section has not yet been entered.
Header+ItemRightDocumentation for this section has not yet been entered.
Header+SortArrowDocumentation for this section has not yet been entered.
HitTestCode

Describes the location of a point in the background specified by a visual style.

HitTestOptions

Specifies the options that can be used when performing a hit test on the background specified by a visual style.

HorizontalAlign

Specifies the horizontal alignment for visual style elements with a fixed size.

IconEffect

Specifies the visual effect that the visual style will apply to an icon.

ImageOrientation

Specifies how multiple images are arranged in a single image file.

ImageSelectType

Specifies when the visual style selects a different multiple-image file to draw an element.

IntegerProperty

Identifies the integer properties of a visual style element.

ListView+DetailDocumentation for this section has not yet been entered.
ListView+EmptyTextDocumentation for this section has not yet been entered.
ListView+GroupDocumentation for this section has not yet been entered.
ListView+ItemDocumentation for this section has not yet been entered.
ListView+SortedDetailDocumentation for this section has not yet been entered.
MarginProperty

Identifies the margin properties of a visual style element.

Menu+BarDropDownDocumentation for this section has not yet been entered.
Menu+BarItemDocumentation for this section has not yet been entered.
Menu+ChevronDocumentation for this section has not yet been entered.
Menu+DropDownDocumentation for this section has not yet been entered.
Menu+ItemDocumentation for this section has not yet been entered.
Menu+SeparatorDocumentation for this section has not yet been entered.
MenuBand+NewApplicationButtonDocumentation for this section has not yet been entered.
MenuBand+SeparatorDocumentation for this section has not yet been entered.
OffsetType

Specifies where an offset is applied to a window element.

Page+DownDocumentation for this section has not yet been entered.
Page+DownHorizontalDocumentation for this section has not yet been entered.
Page+UpDocumentation for this section has not yet been entered.
Page+UpHorizontalDocumentation for this section has not yet been entered.
PointProperty

Identifies the point properties of a visual style element.

ProgressBar+BarDocumentation for this section has not yet been entered.
ProgressBar+BarVerticalDocumentation for this section has not yet been entered.
ProgressBar+ChunkDocumentation for this section has not yet been entered.
ProgressBar+ChunkVerticalDocumentation for this section has not yet been entered.
PushButtonState

Specifies the visual state of a button that is drawn with visual styles.

RadioButtonState

Specifies the visual state of an option button (also known as a radio button) that is drawn with visual styles.

Rebar+BandDocumentation for this section has not yet been entered.
Rebar+ChevronDocumentation for this section has not yet been entered.
Rebar+ChevronVerticalDocumentation for this section has not yet been entered.
Rebar+GripperDocumentation for this section has not yet been entered.
Rebar+GripperVerticalDocumentation for this section has not yet been entered.
ScrollBar+ArrowButtonDocumentation for this section has not yet been entered.
ScrollBar+GripperHorizontalDocumentation for this section has not yet been entered.
ScrollBar+GripperVerticalDocumentation for this section has not yet been entered.
ScrollBar+LeftTrackHorizontalDocumentation for this section has not yet been entered.
ScrollBar+LowerTrackVerticalDocumentation for this section has not yet been entered.
ScrollBar+RightTrackHorizontalDocumentation for this section has not yet been entered.
ScrollBar+SizeBoxDocumentation for this section has not yet been entered.
ScrollBar+ThumbButtonHorizontalDocumentation for this section has not yet been entered.
ScrollBar+ThumbButtonVerticalDocumentation for this section has not yet been entered.
ScrollBar+UpperTrackVerticalDocumentation for this section has not yet been entered.
ScrollBarArrowButtonState

Specifies the visual state of a scroll arrow that is drawn with visual styles.

ScrollBarSizeBoxState

Specifies the visual state of a scroll bar sizing handle that is drawn with visual styles.

ScrollBarState

Specifies the visual state of a scroll bar that is drawn with visual styles.

SizingType

Specifies how elements with a bitmap background will adjust to fill a bounds.

Spin+DownDocumentation for this section has not yet been entered.
Spin+DownHorizontalDocumentation for this section has not yet been entered.
Spin+UpDocumentation for this section has not yet been entered.
Spin+UpHorizontalDocumentation for this section has not yet been entered.
StartPanel+LogOffDocumentation for this section has not yet been entered.
StartPanel+LogOffButtonsDocumentation for this section has not yet been entered.
StartPanel+MoreProgramsDocumentation for this section has not yet been entered.
StartPanel+MoreProgramsArrowDocumentation for this section has not yet been entered.
StartPanel+PlaceListDocumentation for this section has not yet been entered.
StartPanel+PlaceListSeparatorDocumentation for this section has not yet been entered.
StartPanel+PreviewDocumentation for this section has not yet been entered.
StartPanel+ProgListDocumentation for this section has not yet been entered.
StartPanel+ProgListSeparatorDocumentation for this section has not yet been entered.
StartPanel+UserPaneDocumentation for this section has not yet been entered.
StartPanel+UserPictureDocumentation for this section has not yet been entered.
Status+BarDocumentation for this section has not yet been entered.
Status+GripperDocumentation for this section has not yet been entered.
Status+GripperPaneDocumentation for this section has not yet been entered.
Status+PaneDocumentation for this section has not yet been entered.
StringProperty

Identifies the string properties of a visual style element.

Tab+BodyDocumentation for this section has not yet been entered.
Tab+PaneDocumentation for this section has not yet been entered.
Tab+TabItemDocumentation for this section has not yet been entered.
Tab+TabItemBothEdgesDocumentation for this section has not yet been entered.
Tab+TabItemLeftEdgeDocumentation for this section has not yet been entered.
Tab+TabItemRightEdgeDocumentation for this section has not yet been entered.
Tab+TopTabItemDocumentation for this section has not yet been entered.
Tab+TopTabItemBothEdgesDocumentation for this section has not yet been entered.
Tab+TopTabItemLeftEdgeDocumentation for this section has not yet been entered.
Tab+TopTabItemRightEdgeDocumentation for this section has not yet been entered.
TabItemState

Specifies the visual state of a tab item that is drawn with visual styles.

TaskBand+FlashButtonDocumentation for this section has not yet been entered.
TaskBand+FlashButtonGroupMenuDocumentation for this section has not yet been entered.
TaskBand+GroupCountDocumentation for this section has not yet been entered.
Taskbar+BackgroundBottomDocumentation for this section has not yet been entered.
Taskbar+BackgroundLeftDocumentation for this section has not yet been entered.
Taskbar+BackgroundRightDocumentation for this section has not yet been entered.
Taskbar+BackgroundTopDocumentation for this section has not yet been entered.
Taskbar+SizingBarBottomDocumentation for this section has not yet been entered.
Taskbar+SizingBarLeftDocumentation for this section has not yet been entered.
Taskbar+SizingBarRightDocumentation for this section has not yet been entered.
Taskbar+SizingBarTopDocumentation for this section has not yet been entered.
TaskbarClock+TimeDocumentation for this section has not yet been entered.
TextBox+CaretDocumentation for this section has not yet been entered.
TextBox+TextEditDocumentation for this section has not yet been entered.
TextBoxState

Specifies the visual state of a text box that is drawn with visual styles.

TextMetrics

Provides basic information about the font specified by a visual style for a particular element.

TextMetricsCharacterSet

Specifies the character set of the font specified by a visual style for a particular element.

TextMetricsPitchAndFamilyValues

Specifies information about the pitch, technology, and family of the font specified by a visual style for a particular element.

TextShadowType

Specifies the type of shadow to add to text.

ThemeSizeType

Specifies the size of the visual style part to retrieve.

ToolBar+ButtonDocumentation for this section has not yet been entered.
ToolBar+DropDownButtonDocumentation for this section has not yet been entered.
ToolBar+SeparatorHorizontalDocumentation for this section has not yet been entered.
ToolBar+SeparatorVerticalDocumentation for this section has not yet been entered.
ToolBar+SplitButtonDocumentation for this section has not yet been entered.
ToolBar+SplitButtonDropDownDocumentation for this section has not yet been entered.
ToolBarState

Specifies the visual state of a toolbar item that is drawn with visual styles.

ToolTip+BalloonDocumentation for this section has not yet been entered.
ToolTip+BalloonTitleDocumentation for this section has not yet been entered.
ToolTip+CloseDocumentation for this section has not yet been entered.
ToolTip+StandardDocumentation for this section has not yet been entered.
ToolTip+StandardTitleDocumentation for this section has not yet been entered.
TrackBar+ThumbDocumentation for this section has not yet been entered.
TrackBar+ThumbBottomDocumentation for this section has not yet been entered.
TrackBar+ThumbLeftDocumentation for this section has not yet been entered.
TrackBar+ThumbRightDocumentation for this section has not yet been entered.
TrackBar+ThumbTopDocumentation for this section has not yet been entered.
TrackBar+ThumbVerticalDocumentation for this section has not yet been entered.
TrackBar+TicksDocumentation for this section has not yet been entered.
TrackBar+TicksVerticalDocumentation for this section has not yet been entered.
TrackBar+TrackDocumentation for this section has not yet been entered.
TrackBar+TrackVerticalDocumentation for this section has not yet been entered.
TrackBarThumbState

Specifies the visual state of a track bar slider (also known as a thumb) that is drawn with visual styles.

TrayNotify+AnimateBackgroundDocumentation for this section has not yet been entered.
TrayNotify+BackgroundDocumentation for this section has not yet been entered.
TreeView+BranchDocumentation for this section has not yet been entered.
TreeView+GlyphDocumentation for this section has not yet been entered.
TreeView+ItemDocumentation for this section has not yet been entered.
TrueSizeScalingType

Specifies the scaling type of a visual style element with a fixed size.

VerticalAlignment

Specifies the vertical alignment for visual style elements with a fixed size.

VisualStyleElement

Identifies a control or user interface (UI) element that is drawn with visual styles.

VisualStyleElement+ButtonDocumentation for this section has not yet been entered.
VisualStyleElement+ComboBoxDocumentation for this section has not yet been entered.
VisualStyleElement+ExplorerBarDocumentation for this section has not yet been entered.
VisualStyleElement+HeaderDocumentation for this section has not yet been entered.
VisualStyleElement+ListViewDocumentation for this section has not yet been entered.
VisualStyleElement+MenuDocumentation for this section has not yet been entered.
VisualStyleElement+MenuBandDocumentation for this section has not yet been entered.
VisualStyleElement+PageDocumentation for this section has not yet been entered.
VisualStyleElement+ProgressBarDocumentation for this section has not yet been entered.
VisualStyleElement+RebarDocumentation for this section has not yet been entered.
VisualStyleElement+ScrollBarDocumentation for this section has not yet been entered.
VisualStyleElement+SpinDocumentation for this section has not yet been entered.
VisualStyleElement+StartPanelDocumentation for this section has not yet been entered.
VisualStyleElement+StatusDocumentation for this section has not yet been entered.
VisualStyleElement+TabDocumentation for this section has not yet been entered.
VisualStyleElement+TaskBandDocumentation for this section has not yet been entered.
VisualStyleElement+TaskbarDocumentation for this section has not yet been entered.
VisualStyleElement+TaskbarClockDocumentation for this section has not yet been entered.
VisualStyleElement+TextBoxDocumentation for this section has not yet been entered.
VisualStyleElement+ToolBarDocumentation for this section has not yet been entered.
VisualStyleElement+ToolTipDocumentation for this section has not yet been entered.
VisualStyleElement+TrackBarDocumentation for this section has not yet been entered.
VisualStyleElement+TrayNotifyDocumentation for this section has not yet been entered.
VisualStyleElement+TreeViewDocumentation for this section has not yet been entered.
VisualStyleElement+WindowDocumentation for this section has not yet been entered.
VisualStyleInformation

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

VisualStyleRenderer

Provides methods for drawing and getting information about a System.Windows.Forms.VisualStyles.VisualStyleElement. This class cannot be inherited.

VisualStyleState

Specifies how visual styles are applied to the current application.

Window+CaptionDocumentation for this section has not yet been entered.
Window+CaptionSizingTemplateDocumentation for this section has not yet been entered.
Window+CloseButtonDocumentation for this section has not yet been entered.
Window+DialogDocumentation for this section has not yet been entered.
Window+FrameBottomDocumentation for this section has not yet been entered.
Window+FrameBottomSizingTemplateDocumentation for this section has not yet been entered.
Window+FrameLeftDocumentation for this section has not yet been entered.
Window+FrameLeftSizingTemplateDocumentation for this section has not yet been entered.
Window+FrameRightDocumentation for this section has not yet been entered.
Window+FrameRightSizingTemplateDocumentation for this section has not yet been entered.
Window+HelpButtonDocumentation for this section has not yet been entered.
Window+HorizontalScrollDocumentation for this section has not yet been entered.
Window+HorizontalThumbDocumentation for this section has not yet been entered.
Window+MaxButtonDocumentation for this section has not yet been entered.
Window+MaxCaptionDocumentation for this section has not yet been entered.
Window+MdiCloseButtonDocumentation for this section has not yet been entered.
Window+MdiHelpButtonDocumentation for this section has not yet been entered.
Window+MdiMinButtonDocumentation for this section has not yet been entered.
Window+MdiRestoreButtonDocumentation for this section has not yet been entered.
Window+MdiSysButtonDocumentation for this section has not yet been entered.
Window+MinButtonDocumentation for this section has not yet been entered.
Window+MinCaptionDocumentation for this section has not yet been entered.
Window+RestoreButtonDocumentation for this section has not yet been entered.
Window+SmallCaptionDocumentation for this section has not yet been entered.
Window+SmallCaptionSizingTemplateDocumentation for this section has not yet been entered.
Window+SmallCloseButtonDocumentation for this section has not yet been entered.
Window+SmallFrameBottomDocumentation for this section has not yet been entered.
Window+SmallFrameBottomSizingTemplateDocumentation for this section has not yet been entered.
Window+SmallFrameLeftDocumentation for this section has not yet been entered.
Window+SmallFrameLeftSizingTemplateDocumentation for this section has not yet been entered.
Window+SmallFrameRightDocumentation for this section has not yet been entered.
Window+SmallFrameRightSizingTemplateDocumentation for this section has not yet been entered.
Window+SmallMaxCaptionDocumentation for this section has not yet been entered.
Window+SmallMinCaptionDocumentation for this section has not yet been entered.
Window+SysButtonDocumentation for this section has not yet been entered.
Window+VerticalScrollDocumentation for this section has not yet been entered.
Window+VerticalThumbDocumentation for this section has not yet been entered.