RadialGradientBrush::Center Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the center of the outermost circle of the radial gradient.

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

public:
property Point Center {
	Point get();
	void set(Point value);
}

Property Value

Type: System.Windows::Point

The two-dimensional point located at the center of the radial gradient.

The default central point location of the gradient circle is (0.5, 0.5).

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: