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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per