Bewerken

Share via


SystemBrushes.FromSystemColor(Color) Method

Definition

Creates a Brush from the specified Color structure.

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

Parameters

c
Color

The Color structure from which to create the Brush.

Returns

The Brush this method creates.

Applies to