LineSegment.Point Property

Gets or sets the end point of the line segment.

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 Point { get; set; }
<object>
  <object.Point>
    <Point .../>
  </object.Point>
</object>
<object Point="Point" .../>

Property Value

Type: System.Windows.Point
The end point of the line segment.

Identifier field

PointProperty

Metadata properties set to true

None

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.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft