Export (0) Print
Expand All

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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public Point GradientOrigin { get; set; }
<object>
  <object.GradientOrigin>
    <Point .../>
  </object.GradientOrigin>
</object>
<object GradientOrigin="Point" .../>

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

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

.NET Framework Client Profile

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