Editar

Partilhar via


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.

Classes

VisualStyleElement

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

VisualStyleElement.Button

Contains classes that provide VisualStyleElement objects for button-related controls. This class cannot be inherited.

VisualStyleElement.Button.CheckBox

Provides VisualStyleElement objects for the different states of the check box control. This class cannot be inherited.

VisualStyleElement.Button.GroupBox

Provides VisualStyleElement objects for the different states of the group box control. This class cannot be inherited.

VisualStyleElement.Button.PushButton

Provides VisualStyleElement objects for the different states of the button control. This class cannot be inherited.

VisualStyleElement.Button.RadioButton

Provides VisualStyleElement objects for the different states of the radio button control. This class cannot be inherited.

VisualStyleElement.Button.UserButton

Provides a VisualStyleElement for a user button. This class cannot be inherited.

VisualStyleElement.ComboBox

Contains a class that provides VisualStyleElement objects for the drop-down arrow of the combo box control. This class cannot be inherited.

VisualStyleElement.ComboBox.DropDownButton

Provides VisualStyleElement objects for the different states of the drop-down arrow of the combo box control. This class cannot be inherited.

VisualStyleElement.ExplorerBar

Contains classes that provide VisualStyleElement objects for each part of the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.HeaderBackground

Provides a VisualStyleElement for the background of the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.HeaderClose

Provides VisualStyleElement objects for each state of the Close button of the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.HeaderPin

Provides VisualStyleElement objects for each state of the Auto Hide button (which is displayed as a push pin) of the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.IEBarMenu

Provides VisualStyleElement objects for each state of the expanded-menu arrow of the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.NormalGroupBackground

Provides a VisualStyleElement for the background of a common group of items in the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.NormalGroupCollapse

Provides VisualStyleElement objects for each state of the collapse button of a common group of items in the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.NormalGroupExpand

Provides VisualStyleElement objects for each state of the expand button of a common group of items in the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.NormalGroupHead

Provides a VisualStyleElement for the title bar of a common group of items in the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.SpecialGroupBackground

Provides a VisualStyleElement for the background of a special group of items in the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.SpecialGroupCollapse

Provides VisualStyleElement objects for each state of the collapse button of a special group of items in the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.SpecialGroupExpand

Provides VisualStyleElement objects for each state of the expand button of a special group of items in the Explorer Bar. This class cannot be inherited.

VisualStyleElement.ExplorerBar.SpecialGroupHead

Provides a VisualStyleElement for the title bar of a special group of items in the Explorer Bar. This class cannot be inherited.

VisualStyleElement.Header

Contains classes that provide VisualStyleElement objects for each part of the header control. This class cannot be inherited.

VisualStyleElement.Header.Item

Provides VisualStyleElement objects for each state of an item of the header control. This class cannot be inherited.

VisualStyleElement.Header.ItemLeft

Provides VisualStyleElement objects for each state of the leftmost item of the header control. This class cannot be inherited.

VisualStyleElement.Header.ItemRight

Provides VisualStyleElement objects for each state of the rightmost item of the header control. This class cannot be inherited.

VisualStyleElement.Header.SortArrow

Provides VisualStyleElement objects for the sort arrow of a header item. This class cannot be inherited.

VisualStyleElement.ListView

Contains classes that provide VisualStyleElement objects for the parts of the list view control. This class cannot be inherited.

VisualStyleElement.ListView.Detail

Provides a VisualStyleElement for a list view in detail view. This class cannot be inherited.

VisualStyleElement.ListView.EmptyText

Provides a VisualStyleElement for the text area of a list view that contains no items. This class cannot be inherited.

VisualStyleElement.ListView.Group

Provides a VisualStyleElement for a list view item group. This class cannot be inherited.

VisualStyleElement.ListView.Item

Provides VisualStyleElement objects for each state of an item of the list view control. This class cannot be inherited.

VisualStyleElement.ListView.SortedDetail

Provides a VisualStyleElement for a sorted list view control in detail view This class cannot be inherited.

VisualStyleElement.Menu

Contains classes that provide VisualStyleElement objects for the parts of a menu. This class cannot be inherited.

VisualStyleElement.Menu.BarDropDown

Provides a VisualStyleElement for the drop-down arrow of a menu bar. This class cannot be inherited.

VisualStyleElement.Menu.BarItem

Provides a VisualStyleElement for a menu bar item. This class cannot be inherited.

VisualStyleElement.Menu.Chevron

Provides a VisualStyleElement for the chevron of a menu. This class cannot be inherited.

VisualStyleElement.Menu.DropDown

Provides a VisualStyleElement for the drop-down arrow of a menu. This class cannot be inherited.

VisualStyleElement.Menu.Item

Provides VisualStyleElement objects for each state of a menu item. This class cannot be inherited.

VisualStyleElement.Menu.Separator

Provides a VisualStyleElement for a menu item separator. This class cannot be inherited.

VisualStyleElement.MenuBand

Contains classes that provide VisualStyleElement objects for the parts of a menu band. This class cannot be inherited.

VisualStyleElement.MenuBand.NewApplicationButton

Provides VisualStyleElement objects for each state of the new application button of a menu band. This class cannot be inherited.

VisualStyleElement.MenuBand.Separator

Provides a VisualStyleElement for a menu band separator. This class cannot be inherited.

VisualStyleElement.Page

Contains classes that provide VisualStyleElement objects for the parts of a page. This class cannot be inherited.

VisualStyleElement.Page.Down

Provides VisualStyleElement objects for each state of a down indicator in an up-down or spin box control. This class cannot be inherited.

VisualStyleElement.Page.DownHorizontal

Provides VisualStyleElement objects for each state of a page backward indicator in a pager control. This class cannot be inherited.

VisualStyleElement.Page.Up

Provides VisualStyleElement objects for each state of a page up indicator of an up-down or spin box control. This class cannot be inherited.

VisualStyleElement.Page.UpHorizontal

Provides VisualStyleElement objects for each state of a page forward indicator of a pager control. This class cannot be inherited.

VisualStyleElement.ProgressBar

Contains classes that provide VisualStyleElement objects for the parts of the progress bar control. This class cannot be inherited.

VisualStyleElement.ProgressBar.Bar

Provides a VisualStyleElement for the frame of a horizontal progress bar. This class cannot be inherited.

VisualStyleElement.ProgressBar.BarVertical

Provides a VisualStyleElement for the frame of a vertical progress bar. This class cannot be inherited.

VisualStyleElement.ProgressBar.Chunk

Provides a VisualStyleElement for the pieces that fill a horizontal progress bar. This class cannot be inherited.

VisualStyleElement.ProgressBar.ChunkVertical

Provides a VisualStyleElement for the pieces that fill a vertical progress bar. This class cannot be inherited.

VisualStyleElement.Rebar

Contains classes that provide VisualStyleElement objects for the parts of the rebar control. This class cannot be inherited.

VisualStyleElement.Rebar.Band

Provides a VisualStyleElement for a rebar band. This class cannot be inherited.

VisualStyleElement.Rebar.Chevron

Provides VisualStyleElement objects for each state of a horizontal chevron. This class cannot be inherited.

VisualStyleElement.Rebar.ChevronVertical

Provides VisualStyleElement objects for each state of a chevron. This class cannot be inherited.

VisualStyleElement.Rebar.Gripper

Provides a VisualStyleElement for the gripper bar of a horizontal rebar control. This class cannot be inherited.

VisualStyleElement.Rebar.GripperVertical

Provides a VisualStyleElement for the gripper bar of a vertical rebar. This class cannot be inherited.

VisualStyleElement.ScrollBar

Contains classes that provide VisualStyleElement objects for the parts of the scroll bar control. This class cannot be inherited.

VisualStyleElement.ScrollBar.ArrowButton

Provides VisualStyleElement objects for each state and direction of a scroll arrow. This class cannot be inherited.

VisualStyleElement.ScrollBar.GripperHorizontal

Provides a VisualStyleElement for the grip of a horizontal scroll box (also known as the thumb). This class cannot be inherited.

VisualStyleElement.ScrollBar.GripperVertical

Provides a VisualStyleElement for the grip of a vertical scroll box (also known as the thumb). This class cannot be inherited.

VisualStyleElement.ScrollBar.LeftTrackHorizontal

Provides VisualStyleElement objects for each state of the left part of a horizontal scroll bar track. This class cannot be inherited.

VisualStyleElement.ScrollBar.LowerTrackVertical

Provides VisualStyleElement objects for each state of the lower part of a vertical scroll bar track. This class cannot be inherited.

VisualStyleElement.ScrollBar.RightTrackHorizontal

Provides VisualStyleElement objects for each state of the right part of a horizontal scroll bar track. This class cannot be inherited.

VisualStyleElement.ScrollBar.SizeBox

Provides VisualStyleElement objects for each state of the sizing handle of a scroll bar. This class cannot be inherited.

VisualStyleElement.ScrollBar.ThumbButtonHorizontal

Provides VisualStyleElement objects for each state of a horizontal scroll box (also known as the thumb). This class cannot be inherited.

VisualStyleElement.ScrollBar.ThumbButtonVertical

Provides VisualStyleElement objects for each state of a vertical scroll box (also known as the thumb). This class cannot be inherited.

VisualStyleElement.ScrollBar.UpperTrackVertical

Provides VisualStyleElement objects for each state of the upper part of a vertical scroll bar track. This class cannot be inherited.

VisualStyleElement.Spin

Contains classes that provide VisualStyleElement objects for the arrows of a spin button control (also known as an up-down control). This class cannot be inherited.

VisualStyleElement.Spin.Down

Provides VisualStyleElement objects for each state of the downward-pointing arrow for a spin button control (also known as an up-down control). This class cannot be inherited.

VisualStyleElement.Spin.DownHorizontal

Provides VisualStyleElement objects for each state of the left-pointing arrow for a spin button control (also known as an up-down control). This class cannot be inherited.

VisualStyleElement.Spin.Up

Provides VisualStyleElement objects for each state of the upward-pointing arrow for a spin button control (also known as an up-down control). This class cannot be inherited.

VisualStyleElement.Spin.UpHorizontal

Provides VisualStyleElement objects for each state of the right-pointing arrow for a spin button control (also known as an up-down control). This class cannot be inherited.

VisualStyleElement.StartPanel

Contains classes that provide VisualStyleElement objects for the parts of the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.LogOff

Provides a VisualStyleElement for the bottom border of the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.LogOffButtons

Provides VisualStyleElement objects for each state of the Log Off and Shut Down buttons in the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.MorePrograms

Provides a VisualStyleElement for the background of the All Programs item in the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.MoreProgramsArrow

Provides VisualStyleElement objects for each state of the All Programs arrow in the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.PlaceList

Provides a VisualStyleElement for the background of the right side of the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.PlaceListSeparator

Provides a VisualStyleElement for the bar that separates groups of items in the right side of the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.Preview

Provides a VisualStyleElement for the preview area of the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.ProgList

Provides a VisualStyleElement for the background of the left side of the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.ProgListSeparator

Provides a VisualStyleElement for the bar that separates groups of items in the left side of the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.UserPane

Provides a VisualStyleElement for the top border of the Start menu. This class cannot be inherited.

VisualStyleElement.StartPanel.UserPicture

Provides a VisualStyleElement for the background of the user picture on the Start menu. This class cannot be inherited.

VisualStyleElement.Status

Contains classes that provide VisualStyleElement objects for the parts of the status bar. This class cannot be inherited.

VisualStyleElement.Status.Bar

Provides a VisualStyleElement for the background of the status bar. This class cannot be inherited.

VisualStyleElement.Status.Gripper

Provides a VisualStyleElement for the grip of the status bar. This class cannot be inherited.

VisualStyleElement.Status.GripperPane

Provides a VisualStyleElement for the pane of the grip in the status bar. This class cannot be inherited.

VisualStyleElement.Status.Pane

Provides a VisualStyleElement for a status bar pane. This class cannot be inherited.

VisualStyleElement.Tab

Contains classes that provide VisualStyleElement objects for the parts of a tab control. This class cannot be inherited.

VisualStyleElement.Tab.Body

Provides a VisualStyleElement for the interior of a tab control page. This class cannot be inherited.

VisualStyleElement.Tab.Pane

Provides a VisualStyleElement for the border of a tab control page. This class cannot be inherited.

VisualStyleElement.Tab.TabItem

Provides VisualStyleElement objects for each state of a tab control that shares its top, left, and right borders with other tab controls. This class cannot be inherited.

VisualStyleElement.Tab.TabItemBothEdges

Provides a VisualStyleElement for a tab control that shares its top border with another tab control. This class cannot be inherited.

VisualStyleElement.Tab.TabItemLeftEdge

Provides VisualStyleElement objects for each state of a tab control that shares its top and right borders with other tab controls. This class cannot be inherited.

VisualStyleElement.Tab.TabItemRightEdge

Provides VisualStyleElement objects for each state of a tab control that shares its top and left borders with other tab controls. This class cannot be inherited.

VisualStyleElement.Tab.TopTabItem

Provides VisualStyleElement objects for each state of a tab control that shares its bottom, left, and right borders with other tab controls. This class cannot be inherited.

VisualStyleElement.Tab.TopTabItemBothEdges

Provides a VisualStyleElement for a tab control that shares its bottom border with another tab control. This class cannot be inherited.

VisualStyleElement.Tab.TopTabItemLeftEdge

Provides VisualStyleElement objects for each state of a tab control that shares its bottom and right borders with other tab controls. This class cannot be inherited.

VisualStyleElement.Tab.TopTabItemRightEdge

Provides VisualStyleElement objects for each state of a tab control that shares its bottom and left borders with other tab controls. This class cannot be inherited.

VisualStyleElement.TaskBand

Contains classes that provide VisualStyleElement objects for parts of the taskbar. This class cannot be inherited.

VisualStyleElement.TaskBand.FlashButton

Provides a VisualStyleElement for a flashing window button in the taskbar. This class cannot be inherited.

VisualStyleElement.TaskBand.FlashButtonGroupMenu

Provides a VisualStyleElement for a flashing menu item of a window button in the taskbar. This class cannot be inherited.

VisualStyleElement.TaskBand.GroupCount

Provides a VisualStyleElement for a group counter of the taskbar. This class cannot be inherited.

VisualStyleElement.Taskbar

Contains classes that provide VisualStyleElement objects for the parts of the taskbar. This class cannot be inherited.

VisualStyleElement.Taskbar.BackgroundBottom

Provides a VisualStyleElement for the background of a taskbar that is docked on the bottom of the screen. This class cannot be inherited.

VisualStyleElement.Taskbar.BackgroundLeft

Provides a VisualStyleElement for the background of a taskbar that is docked on the left side of the screen. This class cannot be inherited.

VisualStyleElement.Taskbar.BackgroundRight

Provides a VisualStyleElement for the background of a taskbar that is docked on the right side of the screen. This class cannot be inherited.

VisualStyleElement.Taskbar.BackgroundTop

Provides a VisualStyleElement for the background of a taskbar that is docked on the top of the screen. This class cannot be inherited.

VisualStyleElement.Taskbar.SizingBarBottom

Provides a VisualStyleElement for the sizing bar of a taskbar that is docked on the bottom of the screen. This class cannot be inherited.

VisualStyleElement.Taskbar.SizingBarLeft

Provides a VisualStyleElement for the sizing bar of a taskbar that is docked on the left side of the screen. This class cannot be inherited.

VisualStyleElement.Taskbar.SizingBarRight

Provides a VisualStyleElement for the sizing bar of a taskbar that is docked on the right side of the screen. This class cannot be inherited.

VisualStyleElement.Taskbar.SizingBarTop

Provides a VisualStyleElement for the sizing bar of a taskbar that is docked on the top of the screen. This class cannot be inherited.

VisualStyleElement.TaskbarClock

Contains a class that provides a VisualStyleElement for the background of the taskbar clock. This class cannot be inherited.

VisualStyleElement.TaskbarClock.Time

Provides a VisualStyleElement for the background of the taskbar clock. This class cannot be inherited.

VisualStyleElement.TextBox

Contains classes that provide VisualStyleElement objects for the parts of a text box. This class cannot be inherited.

VisualStyleElement.TextBox.Caret

Provides a VisualStyleElement for the caret of a text box. This class cannot be inherited.

VisualStyleElement.TextBox.TextEdit

Provides VisualStyleElement objects for each state of a text box. This class cannot be inherited.

VisualStyleElement.ToolBar

Contains classes that provide VisualStyleElement objects for the parts of a toolbar. This class cannot be inherited.

VisualStyleElement.ToolBar.Button

Provides VisualStyleElement objects for each state of a toolbar button. This class cannot be inherited.

VisualStyleElement.ToolBar.DropDownButton

Provides VisualStyleElement objects for each state of a drop-down toolbar button. This class cannot be inherited.

VisualStyleElement.ToolBar.SeparatorHorizontal

Provides a VisualStyleElement for a horizontal separator of the toolbar. This class cannot be inherited.

VisualStyleElement.ToolBar.SeparatorVertical

Provides a VisualStyleElement for a vertical separator of the toolbar. This class cannot be inherited.

VisualStyleElement.ToolBar.SplitButton

Provides VisualStyleElement objects for each state of the regular button portion of a combined regular button and drop-down button. This class cannot be inherited.

VisualStyleElement.ToolBar.SplitButtonDropDown

Provides VisualStyleElement objects for each state of the drop-down portion of a combined regular button and drop-down button. This class cannot be inherited.

VisualStyleElement.ToolTip

Contains classes that provide VisualStyleElement objects for the parts of a ToolTip. This class cannot be inherited.

VisualStyleElement.ToolTip.Balloon

Provides VisualStyleElement objects for a balloon ToolTip. This class cannot be inherited.

VisualStyleElement.ToolTip.BalloonTitle

Provides a VisualStyleElement for the title area of a balloon ToolTip. This class cannot be inherited.

VisualStyleElement.ToolTip.Close

Provides VisualStyleElement objects for each state of the Close button of a ToolTip. This class cannot be inherited.

VisualStyleElement.ToolTip.Standard

Provides VisualStyleElement objects for a standard ToolTip. This class cannot be inherited.

VisualStyleElement.ToolTip.StandardTitle

Provides a VisualStyleElement for the title area of a standard ToolTip. This class cannot be inherited.

VisualStyleElement.TrackBar

Contains classes that provide VisualStyleElement objects for the parts of the track bar control. This class cannot be inherited.

VisualStyleElement.TrackBar.Thumb

Provides VisualStyleElement objects for each state of the slider (also known as the thumb) of a horizontal track bar. This class cannot be inherited.

VisualStyleElement.TrackBar.ThumbBottom

Provides VisualStyleElement objects for each state of the downward-pointing track bar slider (also known as the thumb). This class cannot be inherited.

VisualStyleElement.TrackBar.ThumbLeft

Provides VisualStyleElement objects for each state of the left-pointing track bar slider (also known as the thumb). This class cannot be inherited.

VisualStyleElement.TrackBar.ThumbRight

Provides VisualStyleElement objects for each state of the right-pointing track bar slider (also known as the thumb). This class cannot be inherited.

VisualStyleElement.TrackBar.ThumbTop

Provides VisualStyleElement objects for each state of the upward-pointing track bar slider (also known as the thumb). This class cannot be inherited.

VisualStyleElement.TrackBar.ThumbVertical

Provides VisualStyleElement objects for each state of the slider (also known as the thumb) of a vertical track bar. This class cannot be inherited.

VisualStyleElement.TrackBar.Ticks

Provides a VisualStyleElement for a single tick of a horizontal track bar. This class cannot be inherited.

VisualStyleElement.TrackBar.TicksVertical

Provides a VisualStyleElement for a single tick of a vertical track bar. This class cannot be inherited.

VisualStyleElement.TrackBar.Track

Provides a VisualStyleElement for the track for a horizontal track bar. This class cannot be inherited.

VisualStyleElement.TrackBar.TrackVertical

Provides a VisualStyleElement for the track for a vertical track bar. This class cannot be inherited.

VisualStyleElement.TrayNotify

Contains classes that provide VisualStyleElement objects for the background of the notification area, which is located at the far right of the taskbar. This class cannot be inherited.

VisualStyleElement.TrayNotify.AnimateBackground

Provides a VisualStyleElement for an animated background of the notification area. This class cannot be inherited.

VisualStyleElement.TrayNotify.Background

Provides a VisualStyleElement for the background of the notification area. This class cannot be inherited.

VisualStyleElement.TreeView

Contains classes that provide VisualStyleElement objects for the parts of the tree view control. This class cannot be inherited.

VisualStyleElement.TreeView.Branch

Provides a VisualStyleElement for a tree view branch. This class cannot be inherited.

VisualStyleElement.TreeView.Glyph

Provides VisualStyleElement objects for the plus sign (+) and minus sign (-) buttons of a tree view control. This class cannot be inherited.

VisualStyleElement.TreeView.Item

Provides VisualStyleElement objects for each state of a tree view item. This class cannot be inherited.

VisualStyleElement.Window

Contains classes that provide VisualStyleElement objects for the parts of a window. This class cannot be inherited.

VisualStyleElement.Window.Caption

Provides VisualStyleElement objects for each state of the title bar of a window. This class cannot be inherited.

VisualStyleElement.Window.CaptionSizingTemplate

Provides a VisualStyleElement that represents the sizing template of the title bar of a window. This class cannot be inherited.

VisualStyleElement.Window.CloseButton

Provides VisualStyleElement objects for each state of the Close button of a window. This class cannot be inherited.

VisualStyleElement.Window.Dialog

Provides a VisualStyleElement for the background of a dialog box. This class cannot be inherited.

VisualStyleElement.Window.FrameBottom

Provides VisualStyleElement objects for each state of the bottom border of a window. This class cannot be inherited.

VisualStyleElement.Window.FrameBottomSizingTemplate

Provides a VisualStyleElement that represents the sizing template of the bottom border of a window. This class cannot be inherited.

VisualStyleElement.Window.FrameLeft

Provides VisualStyleElement objects for each state of the left border of a window. This class cannot be inherited.

VisualStyleElement.Window.FrameLeftSizingTemplate

Provides a VisualStyleElement that represents the sizing template of the left border of a window. This class cannot be inherited.

VisualStyleElement.Window.FrameRight

Provides VisualStyleElement objects for each state of the right border of a window. This class cannot be inherited.

VisualStyleElement.Window.FrameRightSizingTemplate

Provides a VisualStyleElement that represents the sizing template of the right border of a window. This class cannot be inherited.

VisualStyleElement.Window.HelpButton

Provides VisualStyleElement objects for each state of the Help button of a window or dialog box. This class cannot be inherited.

VisualStyleElement.Window.HorizontalScroll

Provides VisualStyleElement objects for each state of the horizontal scroll bar of a window. This class cannot be inherited.

VisualStyleElement.Window.HorizontalThumb

Provides VisualStyleElement objects for each state of the horizontal scroll box (also known as the thumb) of a window. This class cannot be inherited.

VisualStyleElement.Window.MaxButton

Provides VisualStyleElement objects for each state of the Maximize button of a window. This class cannot be inherited.

VisualStyleElement.Window.MaxCaption

Provides VisualStyleElement objects for each state of the title bar of a maximized window. This class cannot be inherited.

VisualStyleElement.Window.MdiCloseButton

Provides VisualStyleElement objects for each state of the Close button of a multiple-document interface (MDI) child window. This class cannot be inherited.

VisualStyleElement.Window.MdiHelpButton

Provides VisualStyleElement objects for each state of the Help button of a multiple-document interface (MDI) child window. This class cannot be inherited.

VisualStyleElement.Window.MdiMinButton

Provides VisualStyleElement objects for each state of the Minimize button of a multiple-document interface (MDI) child window. This class cannot be inherited.

VisualStyleElement.Window.MdiRestoreButton

Provides VisualStyleElement objects for each state of the Restore button of a multiple-document interface (MDI) child window. This class cannot be inherited.

VisualStyleElement.Window.MdiSysButton

Provides VisualStyleElement objects for each state of the System button of a multiple-document interface (MDI) child window with visual styles. This class cannot be inherited.

VisualStyleElement.Window.MinButton

Provides VisualStyleElement objects for each state of the Minimize button of a window. This class cannot be inherited.

VisualStyleElement.Window.MinCaption

Provides VisualStyleElement objects for each state of the title bar of a minimized window. This class cannot be inherited.

VisualStyleElement.Window.RestoreButton

Provides VisualStyleElement objects for each state of the Restore button of a window. This class cannot be inherited.

VisualStyleElement.Window.SmallCaption

Provides VisualStyleElement objects for each state of the title bar of a small window. This class cannot be inherited.

VisualStyleElement.Window.SmallCaptionSizingTemplate

Provides a VisualStyleElement that represents the sizing template of the title bar of a small window. This class cannot be inherited.

VisualStyleElement.Window.SmallCloseButton

Provides VisualStyleElement objects for each state of the Close button of a small window. This class cannot be inherited.

VisualStyleElement.Window.SmallFrameBottom

Provides VisualStyleElement objects for each state of the bottom border of a small window. This class cannot be inherited.

VisualStyleElement.Window.SmallFrameBottomSizingTemplate

Provides a VisualStyleElement that represents the sizing template of the bottom border of a small window. This class cannot be inherited.

VisualStyleElement.Window.SmallFrameLeft

Provides VisualStyleElement objects for each state of the left border of a small window. This class cannot be inherited.

VisualStyleElement.Window.SmallFrameLeftSizingTemplate

Provides a VisualStyleElement that represents the sizing template of the left border of a small window. This class cannot be inherited.

VisualStyleElement.Window.SmallFrameRight

Provides VisualStyleElement objects for each state of the right border of a small window. This class cannot be inherited.

VisualStyleElement.Window.SmallFrameRightSizingTemplate

Provides a VisualStyleElement for the sizing template of the right border of a small window. This class cannot be inherited.

VisualStyleElement.Window.SmallMaxCaption

Provides VisualStyleElement objects for each state of the title bar of a maximized small window. This class cannot be inherited.

VisualStyleElement.Window.SmallMinCaption

Provides VisualStyleElement objects for each state of the title bar of a minimized small window. This class cannot be inherited.

VisualStyleElement.Window.SysButton

Provides VisualStyleElement objects for each state of the System button of a window. This class cannot be inherited.

VisualStyleElement.Window.VerticalScroll

Provides VisualStyleElement objects for each state of the vertical scroll bar of a window. This class cannot be inherited.

VisualStyleElement.Window.VerticalThumb

Provides VisualStyleElement objects for each state of the vertical scroll box (also known as the thumb) of a window. This class cannot be inherited.

VisualStyleInformation

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

VisualStyleRenderer

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

Structs

TextMetrics

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

Enums

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.

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.

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.

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.

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.

MarginProperty

Identifies the margin properties of a visual style element.

OffsetType

Specifies where an offset is applied to a window element.

PointProperty

Identifies the point properties of a visual style element.

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.

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.

StringProperty

Identifies the string properties of a visual style element.

TabItemState

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

TextBoxState

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

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.

ToolBarState

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

TrackBarThumbState

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

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.

VisualStyleState

Specifies how visual styles are applied to the current application.

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 PushButtonState and ComboBoxState, provide state definitions for related visual style elements. Most of the other enumerations support VisualStyleRenderer methods that return information about a particular element. For example, the EnumProperty enumeration provides the possible argument values for the GetEnumValue method. Finally, the VisualStyleState enumeration provides values that define how visual styles are currently applied to the application.

See also