Brushes Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements a set of predefined SolidColorBrush objects.
public ref class Brushes sealed
public sealed class Brushes
type Brushes = class
Public NotInheritable Class Brushes
- Inheritance
-
Brushes
Color names in Windows Presentation Foundation match the color names in .NET Framework and Windows Forms. These colors and their names are based on the UNIX X11 color values.
The following image shows the color of each predefined brush, its name, and its hexadecimal value.
Color table including a color swatch, the color name, and the hexadecimal value
See the Brush class for a variety of other, more complex, ways that you can paint an area. For example, try using gradients (LinearGradientBrush, RadialGradientBrush) or images (ImageBrush).
You cannot declare this managed class in XAML, but you can use its static properties to assign values in XAML.
Alice |
Gets the solid fill color that has a hexadecimal value of |
Antique |
Gets the solid fill color that has a hexadecimal value of |
Aqua |
Gets the solid fill color that has a hexadecimal value of |
Aquamarine |
Gets the solid fill color that has a hexadecimal value of |
Azure |
Gets the solid fill color that has a hexadecimal value of |
Beige |
Gets the solid fill color that has a hexadecimal value of |
Bisque |
Gets the solid fill color that has a hexadecimal value of |
Black |
Gets the solid fill color that has a hexadecimal value of |
Blanched |
Gets the solid fill color that has a hexadecimal value of |
Blue |
Gets the solid fill color that has a hexadecimal value of |
Blue |
Gets the solid fill color that has a hexadecimal value of |
Brown |
Gets the solid fill color that has a hexadecimal value of |
Burly |
Gets the solid fill color that has a hexadecimal value of |
Cadet |
Gets the solid fill color that has a hexadecimal value of |
Chartreuse |
Gets the solid fill color that has a hexadecimal value of |
Chocolate |
Gets the solid fill color that has a hexadecimal value of |
Coral |
Gets the solid fill color that has a hexadecimal value of |
Cornflower |
Gets the solid fill color that has a hexadecimal value of |
Cornsilk |
Gets the solid fill color that has a hexadecimal value of |
Crimson |
Gets the solid fill color that has a hexadecimal value of |
Cyan |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Dark |
Gets the solid fill color that has a hexadecimal value of |
Deep |
Gets the solid fill color that has a hexadecimal value of |
Deep |
Gets the solid fill color that has a hexadecimal value of |
Dim |
Gets the solid fill color that has a hexadecimal value of |
Dodger |
Gets the solid fill color that has a hexadecimal value of |
Firebrick |
Gets the solid fill color that has a hexadecimal value of |
Floral |
Gets the solid fill color that has a hexadecimal value of |
Forest |
Gets the solid fill color that has a hexadecimal value of |
Fuchsia |
Gets the solid fill color that has a hexadecimal value of |
Gainsboro |
Gets the solid fill color that has a hexadecimal value of |
Ghost |
Gets the solid fill color that has a hexadecimal value of |
Gold |
Gets the solid fill color that has a hexadecimal value of |
Goldenrod |
Gets the solid fill color that has a hexadecimal value of |
Gray |
Gets the solid fill color that has a hexadecimal value of |
Green |
Gets the solid fill color that has a hexadecimal value of |
Green |
Gets the solid fill color that has a hexadecimal value of |
Honeydew |
Gets the solid fill color that has a hexadecimal value of |
Hot |
Gets the solid fill color that has a hexadecimal value of |
Indian |
Gets the solid fill color that has a hexadecimal value of |
Indigo |
Gets the solid fill color that has a hexadecimal value of |
Ivory |
Gets the solid fill color that has a hexadecimal value of |
Khaki |
Gets the solid fill color that has a hexadecimal value of |
Lavender |
Gets the solid fill color that has a hexadecimal value of |
Lavender |
Gets the solid fill color that has a hexadecimal value of |
Lawn |
Gets the solid fill color that has a hexadecimal value of |
Lemon |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Light |
Gets the solid fill color that has a hexadecimal value of |
Lime |
Gets the solid fill color that has a hexadecimal value of |
Lime |
Gets the solid fill color that has a hexadecimal value of |
Linen |
Gets the solid fill color that has a hexadecimal value of |
Magenta |
Gets the solid fill color that has a hexadecimal value of |
Maroon |
Gets the solid fill color that has a hexadecimal value of |
Medium |
Gets the solid fill color that has a hexadecimal value of |
Medium |
Gets the solid fill color that has a hexadecimal value of |
Medium |
Gets the solid fill color that has a hexadecimal value of |
Medium |
Gets the solid fill color that has a hexadecimal value of |
Medium |
Gets the solid fill color that has a hexadecimal value of |
Medium |
Gets the solid fill color that has a hexadecimal value of |
Medium |
Gets the solid fill color that has a hexadecimal value of |
Medium |
Gets the solid fill color that has a hexadecimal value of |
Medium |
Gets the solid fill color that has a hexadecimal value of |
Midnight |
Gets the solid fill color that has a hexadecimal value of |
Mint |
Gets the solid fill color that has a hexadecimal value of |
Misty |
Gets the solid fill color that has a hexadecimal value of |
Moccasin |
Gets the solid fill color that has a hexadecimal value of |
Navajo |
Gets the solid fill color that has a hexadecimal value of |
Navy |
Gets the solid fill color that has a hexadecimal value of |
Old |
Gets the solid fill color that has a hexadecimal value of |
Olive |
Gets the solid fill color that has a hexadecimal value of |
Olive |
Gets the solid fill color that has a hexadecimal value of |
Orange |
Gets the solid fill color that has a hexadecimal value of |
Orange |
Gets the solid fill color that has a hexadecimal value of |
Orchid |
Gets the solid fill color that has a hexadecimal value of |
Pale |
Gets the solid fill color that has a hexadecimal value of |
Pale |
Gets the solid fill color that has a hexadecimal value of |
Pale |
Gets the solid fill color that has a hexadecimal value of |
Pale |
Gets the solid fill color that has a hexadecimal value of |
Papaya |
Gets the solid fill color that has a hexadecimal value of |
Peach |
Gets the solid fill color that has a hexadecimal value of |
Peru |
Gets the solid fill color that has a hexadecimal value of |
Pink |
Gets the solid fill color that has a hexadecimal value of |
Plum |
Gets the solid fill color that has a hexadecimal value of |
Powder |
Gets the solid fill color that has a hexadecimal value of |
Purple |
Gets the solid fill color that has a hexadecimal value of |
Red |
Gets the solid fill color that has a hexadecimal value of |
Rosy |
Gets the solid fill color that has a hexadecimal value of |
Royal |
Gets the solid fill color that has a hexadecimal value of |
Saddle |
Gets the solid fill color that has a hexadecimal value of |
Salmon |
Gets the solid fill color that has a hexadecimal value of |
Sandy |
Gets the solid fill color that has a hexadecimal value of |
Sea |
Gets the solid fill color that has a hexadecimal value of |
Sea |
Gets the solid fill color that has a hexadecimal value of |
Sienna |
Gets the solid fill color that has a hexadecimal value of |
Silver |
Gets the solid fill color that has a hexadecimal value of |
Sky |
Gets the solid fill color that has a hexadecimal value of |
Slate |
Gets the solid fill color that has a hexadecimal value of |
Slate |
Gets the solid fill color that has a hexadecimal value of |
Snow |
Gets the solid fill color that has a hexadecimal value of |
Spring |
Gets the solid fill color that has a hexadecimal value of |
Steel |
Gets the solid fill color that has a hexadecimal value of |
Tan |
Gets the solid fill color that has a hexadecimal value of |
Teal |
Gets the solid fill color that has a hexadecimal value of |
Thistle |
Gets the solid fill color that has a hexadecimal value of |
Tomato |
Gets the solid fill color that has a hexadecimal value of |
Transparent |
Gets the solid fill color that has a hexadecimal value of |
Turquoise |
Gets the solid fill color that has a hexadecimal value of |
Violet |
Gets the solid fill color that has a hexadecimal value of |
Wheat |
Gets the solid fill color that has a hexadecimal value of |
White |
Gets the solid fill color that has a hexadecimal value of |
White |
Gets the solid fill color that has a hexadecimal value of |
Yellow |
Gets the solid fill color that has a hexadecimal value of |
Yellow |
Gets the solid fill color that has a hexadecimal value of |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: