SolidColorBrush Constructors
Definition
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.
Overloads
| Name | Description |
|---|---|
| SolidColorBrush() |
Initializes a new instance of the SolidColorBrush class. |
| SolidColorBrush(Color) |
Initializes a new instance of the SolidColorBrush class with the specified color. |
SolidColorBrush()
- Source:
- SolidColorBrush.cs
- Source:
- SolidColorBrush.cs
- Source:
- SolidColorBrush.cs
- Source:
- SolidColorBrush.cs
Initializes a new instance of the SolidColorBrush class.
public:
SolidColorBrush();
public SolidColorBrush();
Public Sub New ()
Applies to
SolidColorBrush(Color)
- Source:
- SolidColorBrush.cs
- Source:
- SolidColorBrush.cs
- Source:
- SolidColorBrush.cs
- Source:
- SolidColorBrush.cs
Initializes a new instance of the SolidColorBrush class with the specified color.
public:
SolidColorBrush(Microsoft::Maui::Graphics::Color ^ color);
public SolidColorBrush(Microsoft.Maui.Graphics.Color color);
new Microsoft.Maui.Controls.SolidColorBrush : Microsoft.Maui.Graphics.Color -> Microsoft.Maui.Controls.SolidColorBrush
Public Sub New (color As Color)
Parameters
- color
- Color
The color of the brush.