SystemBrushes

System.Drawing.SystemBrushes

Namespace: System.Drawing

Assembly: System.Drawing.Managed (4.0.0.0)

Each property of the SystemBrushes class is a SolidBrush that is the color of a Windows display element.

public class SystemBrushes

Properties

ActiveBorder

Brush: Gets a SolidBrush that is the color of the active window's border.

ActiveCaption

Brush: Gets a SolidBrush that is the color of the background of the active window's title bar.

ActiveCaptionText

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

AppWorkspace

Brush: Gets a SolidBrush that is the color of the application workspace.

ButtonFace

Brush: Gets a SolidBrush that is the face color of a 3-D element.

ButtonHighlight

Brush: Gets a SolidBrush that is the highlight color of a 3-D element.

ButtonShadow

Brush: Gets a SolidBrush that is the shadow color of a 3-D element.

Control

Brush: Gets a SolidBrush that is the face color of a 3-D element.

ControlDark

Brush: Gets a SolidBrush that is the shadow color of a 3-D element.

ControlDarkDark

Brush: Gets a SolidBrush that is the dark shadow color of a 3-D element.

ControlLight

Brush: Gets a SolidBrush that is the light color of a 3-D element.

ControlLightLight

Brush: Gets a SolidBrush that is the highlight color of a 3-D element.

ControlText

Brush: Gets a SolidBrush that is the color of text in a 3-D element.

Desktop

Brush: Gets a SolidBrush that is the color of the desktop.

GradientActiveCaption

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

GradientInactiveCaption

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

GrayText

Brush: Gets a SolidBrush that is the color of dimmed text.

Highlight

Brush: Gets a SolidBrush that is the color of the background of selected items.

HighlightText

Brush: Gets a SolidBrush that is the color of the text of selected items.

HotTrack

Brush: Gets a SolidBrush that is the color used to designate a hot-tracked item.

InactiveBorder

Brush: Gets a SolidBrush that is the color of an inactive window's border.

InactiveCaption

Brush: Gets a SolidBrush that is the color of the background of an inactive window's title bar.

InactiveCaptionText

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

Info

Brush: Gets a SolidBrush that is the color of the background of a ToolTip.

InfoText

Brush: Gets a SolidBrush that is the color of the text of a ToolTip.

Brush: Gets a SolidBrush that is the color of a menu's background.

Brush: Gets a SolidBrush that is the color of the background of a menu bar.

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

Brush: Gets a SolidBrush that is the color of a menu's text.

ScrollBar

Brush: Gets a SolidBrush that is the color of the background of a scroll bar.

Window

Brush: Gets a SolidBrush that is the color of the background in the client area of a window.

WindowFrame

Brush: Gets a SolidBrush that is the color of a window frame.

WindowText

Brush: Gets a SolidBrush that is the color of the text in the client area of a window.

Methods

FromSystemColor(c)

Creates a Brush from the specified Color structure.

Parameter
Type
Description

c

The Color structure from which to create the Brush.

Returns: Brush. The Brush this method creates.

Last updated

Was this helpful?