<PackageReference Include="System.Drawing.Common" Version="9.0.5" />

SystemPens

public static class SystemPens
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 static Pen ActiveBorder { get; }

Gets a Pen that is the color of the active window's border.

public static Pen ActiveCaption { get; }

Gets a Pen that is the color of the background of the active window's title bar.

public static Pen ActiveCaptionText { get; }

Gets a Pen that is the color of the text in the active window's title bar.

public static Pen AppWorkspace { get; }

Gets a Pen that is the color of the application workspace.

public static Pen ButtonFace { get; }

Gets a Pen that is the face color of a 3-D element.

public static Pen ButtonHighlight { get; }

Gets a Pen that is the highlight color of a 3-D element.

public static Pen ButtonShadow { get; }

Gets a Pen that is the shadow color of a 3-D element.

public static Pen Control { get; }

Gets a Pen that is the face color of a 3-D element.

public static Pen ControlDark { get; }

Gets a Pen that is the shadow color of a 3-D element.

public static Pen ControlDarkDark { get; }

Gets a Pen that is the dark shadow color of a 3-D element.

public static Pen ControlLight { get; }

Gets a Pen that is the light color of a 3-D element.

public static Pen ControlLightLight { get; }

Gets a Pen that is the highlight color of a 3-D element.

public static Pen ControlText { get; }

Gets a Pen that is the color of text in a 3-D element.

public static Pen Desktop { get; }

Gets a Pen that is the color of the Windows desktop.

public static Pen GradientActiveCaption { get; }

Gets a Pen that is the lightest color in the color gradient of an active window's title bar.

public static Pen GradientInactiveCaption { get; }

Gets a Pen that is the lightest color in the color gradient of an inactive window's title bar.

public static Pen GrayText { get; }

Gets a Pen that is the color of dimmed text.

public static Pen Highlight { get; }

Gets a Pen that is the color of the background of selected items.

public static Pen HighlightText { get; }

Gets a Pen that is the color of the text of selected items.

public static Pen HotTrack { get; }

Gets a Pen that is the color used to designate a hot-tracked item.

public static Pen InactiveBorder { get; }

Gets a Pen is the color of the border of an inactive window.

public static Pen InactiveCaption { get; }

Gets a Pen that is the color of the title bar caption of an inactive window.

public static Pen InactiveCaptionText { get; }

Gets a Pen that is the color of the text in an inactive window's title bar.

public static Pen Info { get; }

Gets a Pen that is the color of the background of a ToolTip.

public static Pen InfoText { get; }

Gets a Pen that is the color of the text of a ToolTip.

public static Pen Menu { get; }

Gets a Pen that is the color of a menu's background.

public static Pen MenuBar { get; }

Gets a Pen that is the color of the background of a menu bar.

public static Pen MenuHighlight { get; }

Gets a Pen that is the color used to highlight menu items when the menu appears as a flat menu.

public static Pen MenuText { get; }

Gets a Pen that is the color of a menu's text.

public static Pen ScrollBar { get; }

Gets a Pen that is the color of the background of a scroll bar.

public static Pen Window { get; }

Gets a Pen that is the color of the background in the client area of a window.

public static Pen WindowFrame { get; }

Gets a Pen that is the color of a window frame.

public static Pen WindowText { get; }

Gets a Pen that is the color of the text in the client area of a window.

public static Pen FromSystemColor(Color c)

Creates a Pen from the specified Color.