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.
Initializes a new instance of the SolidColorBrush class.
Overloads
SolidColorBrush() |
Initializes a new instance of the SolidColorBrush class with no color or animations. |
SolidColorBrush(Color) |
Initializes a new instance of the SolidColorBrush class with the specified Color. |
SolidColorBrush()
Initializes a new instance of the SolidColorBrush class with no color or animations.
public:
SolidColorBrush();
public SolidColorBrush ();
Public Sub New ()
Applies to
SolidColorBrush(Color)
Initializes a new instance of the SolidColorBrush class with the specified Color.
public:
SolidColorBrush(System::Windows::Media::Color color);
public SolidColorBrush (System.Windows.Media.Color color);
new System.Windows.Media.SolidColorBrush : System.Windows.Media.Color -> System.Windows.Media.SolidColorBrush
Public Sub New (color As Color)
Parameters
- color
- Color
The color to apply to the fill.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om