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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de