LineGeometry.EndPoint Property

Gets or sets the end point of a line.

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

public Point EndPoint { get; set; }
<LineGeometry EndPoint="x,y"/>

XAML Values


The X value of the Point that specifies the end point.


The Y value of a Point that specifies the end point.

Property Value

Type: System.Windows.Point
The end point of the line. The default is a Point with value 0,0.

Dependency property identifier field: EndPointProperty

The XAML syntax for this property specifies a new Point as a string. The delimiter between the x and y values of the point can be either a comma or a space. Note that the comma usage has potential to clash with the usage of comma as the decimal point in some UI cultures. For more information, see the "XAML Attribute Syntax" section of Point.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions