Editar

Compartir a través de


SolidColorBrush Constructors

Definition

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