Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

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.

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

  • VisualStyleElement is a foundation class for identifying any control or UI element supported by visual styles. In addition to VisualStyleElement itself, the System.Windows.Forms.VisualStyles namespace includes many nested classes of VisualStyleElement with static properties that return a VisualStyleElement for every state of a control, control part, or other UI element supported by visual styles. For example, the Pressed property of the VisualStyleElement.Button.PushButton class returns a VisualStyleElement that identifies a button in the pressed state with visual styles.

  • VisualStyleRenderer provides methods that draw and get information about each VisualStyleElement defined by the current visual style of the operating system. Information that can be retrieved about an element includes its default size, background type, and color definitions.

  • VisualStyleInformation provides a set of static properties that provide information about the current visual style of the operating system.

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.

  Class Description
Public class VisualStyleElement Identifies a control or user interface (UI) element that is drawn with visual styles.
Public class VisualStyleElement.Button Contains classes that provide VisualStyleElement objects for button-related controls. This class cannot be inherited.
Public class VisualStyleElement.Button.CheckBox Provides VisualStyleElement objects for the different states of the check box control. This class cannot be inherited.
Public class VisualStyleElement.Button.GroupBox Provides VisualStyleElement objects for the different states of the group box control. This class cannot be inherited.
Public class VisualStyleElement.Button.PushButton Provides VisualStyleElement objects for the different states of the button control. This class cannot be inherited.
Public class VisualStyleElement.Button.RadioButton Provides VisualStyleElement objects for the different states of the radio button control. This class cannot be inherited.
Public class VisualStyleElement.Button.UserButton Provides a VisualStyleElement for a user button. This class cannot be inherited.
Public class VisualStyleElement.ComboBox Contains a class that provides VisualStyleElement objects for the drop-down arrow of the combo box control. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.ExplorerBar Contains classes that provide VisualStyleElement objects for each part of the Explorer Bar. This class cannot be inherited.
Public class VisualStyleElement.ExplorerBar.HeaderBackground Provides a VisualStyleElement for the background of the Explorer Bar. This class cannot be inherited.
Public class VisualStyleElement.ExplorerBar.HeaderClose Provides VisualStyleElement objects for each state of the Close button of the Explorer Bar. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.ExplorerBar.IEBarMenu Provides VisualStyleElement objects for each state of the expanded-menu arrow of the Explorer Bar. This class cannot be inherited.
Public class VisualStyleElement.ExplorerBar.NormalGroupBackground Provides a VisualStyleElement for the background of a common group of items in the Explorer Bar. This class cannot be inherited.
Public class 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.
Public class 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.
Public class 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.
Public class VisualStyleElement.ExplorerBar.SpecialGroupBackground Provides a VisualStyleElement for the background of a special group of items in the Explorer Bar. This class cannot be inherited.
Public class 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.
Public class 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.
Public class 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.
Public class VisualStyleElement.Header Contains classes that provide VisualStyleElement objects for each part of the header control. This class cannot be inherited.
Public class VisualStyleElement.Header.Item Provides VisualStyleElement objects for each state of an item of the header control. This class cannot be inherited.
Public class VisualStyleElement.Header.ItemLeft Provides VisualStyleElement objects for each state of the leftmost item of the header control. This class cannot be inherited.
Public class VisualStyleElement.Header.ItemRight Provides VisualStyleElement objects for each state of the rightmost item of the header control. This class cannot be inherited.
Public class VisualStyleElement.Header.SortArrow Provides VisualStyleElement objects for the sort arrow of a header item. This class cannot be inherited.
Public class VisualStyleElement.ListView Contains classes that provide VisualStyleElement objects for the parts of the list view control. This class cannot be inherited.
Public class VisualStyleElement.ListView.Detail Provides a VisualStyleElement for a list view in detail view. This class cannot be inherited.
Public class VisualStyleElement.ListView.EmptyText Provides a VisualStyleElement for the text area of a list view that contains no items. This class cannot be inherited.
Public class VisualStyleElement.ListView.Group Provides a VisualStyleElement for a list view item group. This class cannot be inherited.
Public class VisualStyleElement.ListView.Item Provides VisualStyleElement objects for each state of an item of the list view control. This class cannot be inherited.
Public class VisualStyleElement.ListView.SortedDetail Provides a VisualStyleElement for a sorted list view control in detail view This class cannot be inherited.
Public class VisualStyleElement.Menu Contains classes that provide VisualStyleElement objects for the parts of a menu. This class cannot be inherited.
Public class VisualStyleElement.Menu.BarDropDown Provides a VisualStyleElement for the drop-down arrow of a menu bar. This class cannot be inherited.
Public class VisualStyleElement.Menu.BarItem Provides a VisualStyleElement for a menu bar item. This class cannot be inherited.
Public class VisualStyleElement.Menu.Chevron Provides a VisualStyleElement for the chevron of a menu. This class cannot be inherited.
Public class VisualStyleElement.Menu.DropDown Provides a VisualStyleElement for the drop-down arrow of a menu. This class cannot be inherited.
Public class VisualStyleElement.Menu.Item Provides VisualStyleElement objects for each state of a menu item. This class cannot be inherited.
Public class VisualStyleElement.Menu.Separator Provides a VisualStyleElement for a menu item separator. This class cannot be inherited.
Public class VisualStyleElement.MenuBand Contains classes that provide VisualStyleElement objects for the parts of a menu band. This class cannot be inherited.
Public class VisualStyleElement.MenuBand.NewApplicationButton Provides VisualStyleElement objects for each state of the new application button of a menu band. This class cannot be inherited.
Public class VisualStyleElement.MenuBand.Separator Provides a VisualStyleElement for a menu band separator. This class cannot be inherited.
Public class VisualStyleElement.Page Contains classes that provide VisualStyleElement objects for the parts of a page. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.Page.DownHorizontal Provides VisualStyleElement objects for each state of a page backward indicator in a pager control. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.Page.UpHorizontal Provides VisualStyleElement objects for each state of a page forward indicator of a pager control. This class cannot be inherited.
Public class VisualStyleElement.ProgressBar Contains classes that provide VisualStyleElement objects for the parts of the progress bar control. This class cannot be inherited.
Public class VisualStyleElement.ProgressBar.Bar Provides a VisualStyleElement for the frame of a horizontal progress bar. This class cannot be inherited.
Public class VisualStyleElement.ProgressBar.BarVertical Provides a VisualStyleElement for the frame of a vertical progress bar. This class cannot be inherited.
Public class VisualStyleElement.ProgressBar.Chunk Provides a VisualStyleElement for the pieces that fill a horizontal progress bar. This class cannot be inherited.
Public class VisualStyleElement.ProgressBar.ChunkVertical Provides a VisualStyleElement for the pieces that fill a vertical progress bar. This class cannot be inherited.
Public class VisualStyleElement.Rebar Contains classes that provide VisualStyleElement objects for the parts of the rebar control. This class cannot be inherited.
Public class VisualStyleElement.Rebar.Band Provides a VisualStyleElement for a rebar band. This class cannot be inherited.
Public class VisualStyleElement.Rebar.Chevron Provides VisualStyleElement objects for each state of a horizontal chevron. This class cannot be inherited.
Public class VisualStyleElement.Rebar.ChevronVertical Provides VisualStyleElement objects for each state of a chevron. This class cannot be inherited.
Public class VisualStyleElement.Rebar.Gripper Provides a VisualStyleElement for the gripper bar of a horizontal rebar control. This class cannot be inherited.
Public class VisualStyleElement.Rebar.GripperVertical Provides a VisualStyleElement for the gripper bar of a vertical rebar. This class cannot be inherited.
Public class VisualStyleElement.ScrollBar Contains classes that provide VisualStyleElement objects for the parts of the scroll bar control. This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.ArrowButton Provides VisualStyleElement objects for each state and direction of a scroll arrow. This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.GripperHorizontal Provides a VisualStyleElement for the grip of a horizontal scroll box (also known as the thumb). This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.GripperVertical Provides a VisualStyleElement for the grip of a vertical scroll box (also known as the thumb). This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.LeftTrackHorizontal Provides VisualStyleElement objects for each state of the left part of a horizontal scroll bar track. This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.LowerTrackVertical Provides VisualStyleElement objects for each state of the lower part of a vertical scroll bar track. This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.RightTrackHorizontal Provides VisualStyleElement objects for each state of the right part of a horizontal scroll bar track. This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.SizeBox Provides VisualStyleElement objects for each state of the sizing handle of a scroll bar. This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.ThumbButtonHorizontal Provides VisualStyleElement objects for each state of a horizontal scroll box (also known as the thumb). This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.ThumbButtonVertical Provides VisualStyleElement objects for each state of a vertical scroll box (also known as the thumb). This class cannot be inherited.
Public class VisualStyleElement.ScrollBar.UpperTrackVertical Provides VisualStyleElement objects for each state of the upper part of a vertical scroll bar track. This class cannot be inherited.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class VisualStyleElement.StartPanel Contains classes that provide VisualStyleElement objects for the parts of the Start menu. This class cannot be inherited.
Public class VisualStyleElement.StartPanel.LogOff Provides a VisualStyleElement for the bottom border of the Start menu. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.StartPanel.MorePrograms Provides a VisualStyleElement for the background of the All Programs item in the Start menu. This class cannot be inherited.
Public class VisualStyleElement.StartPanel.MoreProgramsArrow Provides VisualStyleElement objects for each state of the All Programs arrow in the Start menu. This class cannot be inherited.
Public class VisualStyleElement.StartPanel.PlaceList Provides a VisualStyleElement for the background of the right side of the Start menu. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.StartPanel.Preview Provides a VisualStyleElement for the preview area of the Start menu. This class cannot be inherited.
Public class VisualStyleElement.StartPanel.ProgList Provides a VisualStyleElement for the background of the left side of the Start menu. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.StartPanel.UserPane Provides a VisualStyleElement for the top border of the Start menu. This class cannot be inherited.
Public class VisualStyleElement.StartPanel.UserPicture Provides a VisualStyleElement for the background of the user picture on the Start menu. This class cannot be inherited.
Public class VisualStyleElement.Status Contains classes that provide VisualStyleElement objects for the parts of the status bar. This class cannot be inherited.
Public class VisualStyleElement.Status.Bar Provides a VisualStyleElement for the background of the status bar. This class cannot be inherited.
Public class VisualStyleElement.Status.Gripper Provides a VisualStyleElement for the grip of the status bar. This class cannot be inherited.
Public class VisualStyleElement.Status.GripperPane Provides a VisualStyleElement for the pane of the grip in the status bar. This class cannot be inherited.
Public class VisualStyleElement.Status.Pane Provides a VisualStyleElement for a status bar pane. This class cannot be inherited.
Public class VisualStyleElement.Tab Contains classes that provide VisualStyleElement objects for the parts of a tab control. This class cannot be inherited.
Public class VisualStyleElement.Tab.Body Provides a VisualStyleElement for the interior of a tab control page. This class cannot be inherited.
Public class VisualStyleElement.Tab.Pane Provides a VisualStyleElement for the border of a tab control page. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.Tab.TabItemBothEdges Provides a VisualStyleElement for a tab control that shares its top border with another tab control. This class cannot be inherited.
Public class 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.
Public class 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.
Public class 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.
Public class VisualStyleElement.Tab.TopTabItemBothEdges Provides a VisualStyleElement for a tab control that shares its bottom border with another tab control. This class cannot be inherited.
Public class 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.
Public class 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.
Public class VisualStyleElement.TaskBand Contains classes that provide VisualStyleElement objects for parts of the taskbar. This class cannot be inherited.
Public class VisualStyleElement.TaskBand.FlashButton Provides a VisualStyleElement for a flashing window button in the taskbar. This class cannot be inherited.
Public class VisualStyleElement.TaskBand.FlashButtonGroupMenu Provides a VisualStyleElement for a flashing menu item of a window button in the taskbar. This class cannot be inherited.
Public class VisualStyleElement.TaskBand.GroupCount Provides a VisualStyleElement for a group counter of the taskbar. This class cannot be inherited.
Public class VisualStyleElement.Taskbar Contains classes that provide VisualStyleElement objects for the parts of the taskbar. This class cannot be inherited.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class VisualStyleElement.TaskbarClock Contains a class that provides a VisualStyleElement for the background of the taskbar clock. This class cannot be inherited.
Public class VisualStyleElement.TaskbarClock.Time Provides a VisualStyleElement for the background of the taskbar clock. This class cannot be inherited.
Public class VisualStyleElement.TextBox Contains classes that provide VisualStyleElement objects for the parts of a text box. This class cannot be inherited.
Public class VisualStyleElement.TextBox.Caret Provides a VisualStyleElement for the caret of a text box. This class cannot be inherited.
Public class VisualStyleElement.TextBox.TextEdit Provides VisualStyleElement objects for each state of a text box. This class cannot be inherited.
Public class VisualStyleElement.ToolBar Contains classes that provide VisualStyleElement objects for the parts of a toolbar. This class cannot be inherited.
Public class VisualStyleElement.ToolBar.Button Provides VisualStyleElement objects for each state of a toolbar button. This class cannot be inherited.
Public class VisualStyleElement.ToolBar.DropDownButton Provides VisualStyleElement objects for each state of a drop-down toolbar button. This class cannot be inherited.
Public class VisualStyleElement.ToolBar.SeparatorHorizontal Provides a VisualStyleElement for a horizontal separator of the toolbar. This class cannot be inherited.
Public class VisualStyleElement.ToolBar.SeparatorVertical Provides a VisualStyleElement for a vertical separator of the toolbar. This class cannot be inherited.
Public class 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.
Public class 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.
Public class VisualStyleElement.ToolTip Contains classes that provide VisualStyleElement objects for the parts of a ToolTip. This class cannot be inherited.
Public class VisualStyleElement.ToolTip.Balloon Provides VisualStyleElement objects for a balloon ToolTip. This class cannot be inherited.
Public class VisualStyleElement.ToolTip.BalloonTitle Provides a VisualStyleElement for the title area of a balloon ToolTip. This class cannot be inherited.
Public class VisualStyleElement.ToolTip.Close Provides VisualStyleElement objects for each state of the Close button of a ToolTip. This class cannot be inherited.
Public class VisualStyleElement.ToolTip.Standard Provides VisualStyleElement objects for a standard ToolTip. This class cannot be inherited.
Public class VisualStyleElement.ToolTip.StandardTitle Provides a VisualStyleElement for the title area of a standard ToolTip. This class cannot be inherited.
Public class VisualStyleElement.TrackBar Contains classes that provide VisualStyleElement objects for the parts of the track bar control. This class cannot be inherited.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class VisualStyleElement.TrackBar.Ticks Provides a VisualStyleElement for a single tick of a horizontal track bar. This class cannot be inherited.
Public class VisualStyleElement.TrackBar.TicksVertical Provides a VisualStyleElement for a single tick of a vertical track bar. This class cannot be inherited.
Public class VisualStyleElement.TrackBar.Track Provides a VisualStyleElement for the track for a horizontal track bar. This class cannot be inherited.
Public class VisualStyleElement.TrackBar.TrackVertical Provides a VisualStyleElement for the track for a vertical track bar. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.TrayNotify.AnimateBackground Provides a VisualStyleElement for an animated background of the notification area. This class cannot be inherited.
Public class VisualStyleElement.TrayNotify.Background Provides a VisualStyleElement for the background of the notification area. This class cannot be inherited.
Public class VisualStyleElement.TreeView Contains classes that provide VisualStyleElement objects for the parts of the tree view control. This class cannot be inherited.
Public class VisualStyleElement.TreeView.Branch Provides a VisualStyleElement for a tree view branch. This class cannot be inherited.
Public class VisualStyleElement.TreeView.Glyph Provides VisualStyleElement objects for the plus sign (+) and minus sign (-) buttons of a tree view control. This class cannot be inherited.
Public class VisualStyleElement.TreeView.Item Provides VisualStyleElement objects for each state of a tree view item. This class cannot be inherited.
Public class VisualStyleElement.Window Contains classes that provide VisualStyleElement objects for the parts of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.Caption Provides VisualStyleElement objects for each state of the title bar of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.CaptionSizingTemplate Provides a VisualStyleElement that represents the sizing template of the title bar of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.CloseButton Provides VisualStyleElement objects for each state of the Close button of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.Dialog Provides a VisualStyleElement for the background of a dialog box. This class cannot be inherited.
Public class VisualStyleElement.Window.FrameBottom Provides VisualStyleElement objects for each state of the bottom border of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.FrameBottomSizingTemplate Provides a VisualStyleElement that represents the sizing template of the bottom border of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.FrameLeft Provides VisualStyleElement objects for each state of the left border of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.FrameLeftSizingTemplate Provides a VisualStyleElement that represents the sizing template of the left border of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.FrameRight Provides VisualStyleElement objects for each state of the right border of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.FrameRightSizingTemplate Provides a VisualStyleElement that represents the sizing template of the right border of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.HelpButton Provides VisualStyleElement objects for each state of the Help button of a window or dialog box. This class cannot be inherited.
Public class VisualStyleElement.Window.HorizontalScroll Provides VisualStyleElement objects for each state of the horizontal scroll bar of a window. This class cannot be inherited.
Public class 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.
Public class VisualStyleElement.Window.MaxButton Provides VisualStyleElement objects for each state of the Maximize button of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.MaxCaption Provides VisualStyleElement objects for each state of the title bar of a maximized window. This class cannot be inherited.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class 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.
Public class VisualStyleElement.Window.MinButton Provides VisualStyleElement objects for each state of the Minimize button of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.MinCaption Provides VisualStyleElement objects for each state of the title bar of a minimized window. This class cannot be inherited.
Public class VisualStyleElement.Window.RestoreButton Provides VisualStyleElement objects for each state of the Restore button of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallCaption Provides VisualStyleElement objects for each state of the title bar of a small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallCaptionSizingTemplate Provides a VisualStyleElement that represents the sizing template of the title bar of a small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallCloseButton Provides VisualStyleElement objects for each state of the Close button of a small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallFrameBottom Provides VisualStyleElement objects for each state of the bottom border of a small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallFrameBottomSizingTemplate Provides a VisualStyleElement that represents the sizing template of the bottom border of a small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallFrameLeft Provides VisualStyleElement objects for each state of the left border of a small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallFrameLeftSizingTemplate Provides a VisualStyleElement that represents the sizing template of the left border of a small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallFrameRight Provides VisualStyleElement objects for each state of the right border of a small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallFrameRightSizingTemplate Provides a VisualStyleElement for the sizing template of the right border of a small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallMaxCaption Provides VisualStyleElement objects for each state of the title bar of a maximized small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SmallMinCaption Provides VisualStyleElement objects for each state of the title bar of a minimized small window. This class cannot be inherited.
Public class VisualStyleElement.Window.SysButton Provides VisualStyleElement objects for each state of the System button of a window. This class cannot be inherited.
Public class VisualStyleElement.Window.VerticalScroll Provides VisualStyleElement objects for each state of the vertical scroll bar of a window. This class cannot be inherited.
Public class 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.
Public class VisualStyleInformation Provides information about the current visual style of the operating system.
Public class VisualStyleRenderer Provides methods for drawing and getting information about a VisualStyleElement. This class cannot be inherited.
  Structure Description
Public structure TextMetrics Provides basic information about the font specified by a visual style for a particular element.
  Enumeration Description
Public enumeration BackgroundType Specifies the source of a visual style element's background.
Public enumeration BooleanProperty Identifies the Boolean properties of a visual style element.
Public enumeration BorderType Specifies the border type of a visual style element with a filled-border background.
Public enumeration CheckBoxState Specifies the visual state of a check box that is drawn with visual styles.
Public enumeration ColorProperty Identifies the color properties of a visual style element.
Public enumeration ComboBoxState Specifies the visual state of a combo box that is drawn with visual styles.
Public enumeration ContentAlignment Specifies how text is aligned in a window caption.
Public enumeration EdgeEffects Specifies the visual effects that can be applied to the edges of a visual style element.
Public enumeration Edges Specifies which edges of a visual style element to draw.
Public enumeration EdgeStyle Specifies the styles that can be applied to the edges of a visual style element.
Public enumeration EnumProperty Identifies the enumerated type properties of a visual style element.
Public enumeration FilenameProperty Identifies the names of the image files that are used to draw a visual style element.
Public enumeration FillType Specifies the interior of visual style elements with a filled border background.
Public enumeration FontProperty Identifies the font properties of a visual style element.
Public enumeration GlyphFontSizingType Specifies when the visual style selects a different glyph font size.
Public enumeration GlyphType Specifies the type of glyph for elements with a bitmap background.
Public enumeration GroupBoxState Specifies the visual state of a group box that is drawn with visual styles.
Public enumeration HitTestCode Describes the location of a point in the background specified by a visual style.
Public enumeration HitTestOptions Specifies the options that can be used when performing a hit test on the background specified by a visual style.
Public enumeration HorizontalAlign Specifies the horizontal alignment for visual style elements with a fixed size.
Public enumeration IconEffect Specifies the visual effect that the visual style will apply to an icon.
Public enumeration ImageOrientation Specifies how multiple images are arranged in a single image file.
Public enumeration ImageSelectType Specifies when the visual style selects a different multiple-image file to draw an element.
Public enumeration IntegerProperty Identifies the integer properties of a visual style element.
Public enumeration MarginProperty Identifies the margin properties of a visual style element.
Public enumeration OffsetType Specifies where an offset is applied to a window element.
Public enumeration PointProperty Identifies the point properties of a visual style element.
Public enumeration PushButtonState Specifies the visual state of a button that is drawn with visual styles.
Public enumeration RadioButtonState Specifies the visual state of an option button (also known as a radio button) that is drawn with visual styles.
Public enumeration ScrollBarArrowButtonState Specifies the visual state of a scroll arrow that is drawn with visual styles.
Public enumeration ScrollBarSizeBoxState Specifies the visual state of a scroll bar sizing handle that is drawn with visual styles.
Public enumeration ScrollBarState Specifies the visual state of a scroll bar that is drawn with visual styles.
Public enumeration SizingType Specifies how elements with a bitmap background will adjust to fill a bounds.
Public enumeration StringProperty Identifies the string properties of a visual style element.
Public enumeration TabItemState Specifies the visual state of a tab item that is drawn with visual styles.
Public enumeration TextBoxState Specifies the visual state of a text box that is drawn with visual styles.
Public enumeration TextMetricsCharacterSet Specifies the character set of the font specified by a visual style for a particular element.
Public enumeration TextMetricsPitchAndFamilyValues Specifies information about the pitch, technology, and family of the font specified by a visual style for a particular element.
Public enumeration TextShadowType Specifies the type of shadow to add to text.
Public enumeration ThemeSizeType Specifies the size of the visual style part to retrieve.
Public enumeration ToolBarState Specifies the visual state of a toolbar item that is drawn with visual styles.
Public enumeration TrackBarThumbState Specifies the visual state of a track bar slider (also known as a thumb) that is drawn with visual styles.
Public enumeration TrueSizeScalingType Specifies the scaling type of a visual style element with a fixed size.
Public enumeration VerticalAlignment Specifies the vertical alignment for visual style elements with a fixed size.
Public enumeration VisualStyleState Specifies how visual styles are applied to the current application.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.