Export (0) Print
Expand All

RadialGradientBrush Constructor (Color, Color)

Initializes a new instance of the RadialGradientBrush class with the specified start and stop colors.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public RadialGradientBrush(
	Color startColor,
	Color endColor
)

Parameters

startColor
Type: System.Windows.Media.Color

Color value at the focus (GradientOrigin) of the radial gradient.

endColor
Type: System.Windows.Media.Color

Color value at the outer edge of the radial gradient.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft