RadialGradientBrush.GradientOrigin Property

 

Gets or sets the location of the two-dimensional focal point that defines the beginning of the gradient.

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

public Point GradientOrigin { get; set; }

Property Value

Type: System.Windows.Point

The location of the two-dimensional focal point of the gradient. The default 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: