SystemPens
System.Drawing.SystemPens
Namespace: System.Drawing
Assembly: System.Drawing.Managed (4.0.0.0)
Each property of the SystemPens class is a Pen that is the color of a Windows display element and that has a width of 1 pixel.
public class SystemPensPublic Class SystemPensProperties
ActiveBorder
Pen: Gets a Pen that is the color of the active window's border.
ActiveCaption
Pen: Gets a Pen that is the color of the background of the active window's title bar.
ActiveCaptionText
Pen: Gets a Pen that is the color of the text in the active window's title bar.
AppWorkspace
Pen: Gets a Pen that is the color of the application workspace.
ButtonFace
Pen: Gets a Pen that is the face color of a 3-D element.
ButtonHighlight
Pen: Gets a Pen that is the highlight color of a 3-D element.
ButtonShadow
Pen: Gets a Pen that is the shadow color of a 3-D element.
Control
Pen: Gets a Pen that is the face color of a 3-D element.
ControlDark
Pen: Gets a Pen that is the shadow color of a 3-D element.
ControlDarkDark
Pen: Gets a Pen that is the dark shadow color of a 3-D element.
ControlLight
Pen: Gets a Pen that is the light color of a 3-D element.
ControlLightLight
Pen: Gets a Pen that is the highlight color of a 3-D element.
ControlText
Pen: Gets a Pen that is the color of text in a 3-D element.
Desktop
Pen: Gets a Pen that is the color of the Windows desktop.
GradientActiveCaption
Pen: Gets a Pen that is the lightest color in the color gradient of an active window's title bar.
GradientInactiveCaption
Pen: Gets a Pen that is the lightest color in the color gradient of an inactive window's title bar.
GrayText
Pen: Gets a Pen that is the color of dimmed text.
Highlight
Pen: Gets a Pen that is the color of the background of selected items.
HighlightText
Pen: Gets a Pen that is the color of the text of selected items.
HotTrack
Pen: Gets a Pen that is the color used to designate a hot-tracked item.
InactiveBorder
Pen: Gets a Pen is the color of the border of an inactive window.
InactiveCaption
Pen: Gets a Pen that is the color of the title bar caption of an inactive window.
InactiveCaptionText
Pen: Gets a Pen that is the color of the text in an inactive window's title bar.
Info
Pen: Gets a Pen that is the color of the background of a ToolTip.
InfoText
Pen: Gets a Pen that is the color of the text of a ToolTip.
Menu
Pen: Gets a Pen that is the color of a menu's background.
MenuBar
Pen: Gets a Pen that is the color of the background of a menu bar.
MenuHighlight
Pen: Gets a Pen that is the color used to highlight menu items when the menu appears as a flat menu.
MenuText
Pen: Gets a Pen that is the color of a menu's text.
ScrollBar
Pen: Gets a Pen that is the color of the background of a scroll bar.
Window
Pen: Gets a Pen that is the color of the background in the client area of a window.
WindowFrame
Pen: Gets a Pen that is the color of a window frame.
WindowText
Pen: Gets a Pen that is the color of the text in the client area of a window.
Methods
FromSystemColor(c)
Last updated
Was this helpful?