SystemBrushes.FromSystemColor(Color) 方法

定义

从指定的 Brush 结构创建 Color

public:
 static System::Drawing::Brush ^ FromSystemColor(System::Drawing::Color c);
public static System.Drawing.Brush FromSystemColor (System.Drawing.Color c);
static member FromSystemColor : System.Drawing.Color -> System.Drawing.Brush
Public Shared Function FromSystemColor (c As Color) As Brush

参数

c
Color

要从其中创建 ColorBrush 结构。

返回

此方法创建的 Brush

适用于