Line.X1 Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the x-coordinate of the Line start point.

Namespace:  System.Windows.Shapes
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property X1 As Double
public double X1 { get; set; }
<Line X1="double"/>

Property Value

Type: System..::.Double
The x-coordinate for the start point of the line, in logical pixels. The default is 0.

Remarks

Dependency property identifier field: X1Property

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Line Class

System.Windows.Shapes Namespace