LineSegment.Point Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the end point of the line segment.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property Point As Point
public Point Point { get; set; }
<LineSegment Point="x,y"/>
XAML Values
Property Value
Type: System.Windows..::.Point
The end point of the line segment. The default is a Point with value 0,0.
Remarks
Dependency property identifier field: PointProperty
The LineSegment class does not contain a property for the starting point of the line. The starting point of the line is the current point of the PathFigure object where you add the line.
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone