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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET