RadialGradientBrush::Center Property

 

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: