Gets or sets the ending two-dimensional coordinates of the linear gradient.
Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
<object> <object.EndPoint> <Point .../> </object.EndPoint> </object>
Property ValueType: System.Windows.Point
The ending two-dimensional coordinates of the linear gradient. The default is (1,1).
The default linear gradient is diagonal. In the default, the StartPoint of a linear gradient is (0,0), the upper-left corner of the area being filled, and its is (1,1), the lower-right corner of the area being filled. The colors in the resulting gradient are interpolated along the diagonal path.
The following image shows a diagonal gradient. The black line was added to highlight the interpolation path of the gradient from the start point to the end point.
Specifying Relative or Absolute Values
Note that the MappingMode property of a LinearGradientBrush determines whether its is interpreted as a relative or absolute value. A MappingMode of RelativeToBoundingBox specifies that the value is relative to the size of the painted area. A MappingMode of Absolute specifies that the value is expressed in device independent pixels. By default, the MappingMode is set to RelativeToBoundingBox, making the a relative value.