SolidColorBrush Class
Represents a brush which fills an area with a solid color.
public sealed class SolidColorBrush : BrushPublic NotInheritable Class SolidColorBrush
Inherits Brush- Inheritance:
- System.ObjectSolidColorBrush
Properties
Color
Gets or sets the color of this SolidColorBrush.
Property Value
The color of this SolidColorBrush.
Inherited Properties
| IsEmpty | Gets a value indicating whether the parent element is painted. (Inherited from Brush) |
Inherited Methods
| SetDefault() | Sets a default brush on the parent element (element will be painted based on the default settings). (Inherited from Brush) |
| SetEmpty() | Sets an empty brush on the parent element (element won't be painted). (Inherited from Brush) |
| SetGradient(GradientBrushType) | Sets a gradient brush on the parent element. (Inherited from Brush) |
| SetPattern(PatternBrushType, Color, Color) | Sets a pattern brush on the parent element. (Inherited from Brush) |
| SetPicture(Content) | Sets a picture brush on the parent element. This method is not applicable on Fill property. (Inherited from Brush) |
| SetPicture(System.IO.Stream) | Sets a picture brush on the parent element. This method is not applicable on Fill property. (Inherited from Brush) |
| SetPicture(System.IO.Stream, PictureContentType) | Sets a picture brush on the parent element. This method is not applicable on Fill property. (Inherited from Brush) |
| SetPicture(System.IO.Stream, System.String) | Sets a picture brush on the parent element. This method is not applicable on Fill property. (Inherited from Brush) |
| SetPicture(System.String, System.Boolean) | Sets a picture brush on the parent element. This method is not applicable on Fill property. (Inherited from Brush) |
| SetPicture(System.String, PictureContentType) | Sets a picture brush on the parent element. This method is not applicable on Fill property. (Inherited from Brush) |
| SetPicture(System.String, System.String) | Sets a picture brush on the parent element. This method is not applicable on Fill property. (Inherited from Brush) |
| SetSolid(Color) | Sets a solid color brush on the parent element. (Inherited from Brush) |
| SetSolid(Color, System.Byte) | Sets a solid color brush on the parent element. (Inherited from Brush) |
| ToString() | Returns a System.String that represents this Brush instance. (Inherited from Brush) |