Freigeben über


X2

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the x-coordinate of the Line endpoint.

<object X2="Double"  .../>
value = object.X2
object.X2 = value

Property Value

Type: Double

The x-coordinate for the endpoint of the line.

This property is read/write. The default value is 0.

Managed Equivalent

X2

Remarks

You can animate a Line. However, you would need to apply discrete Double animations to properties instead of using Point animations.

Applies To

Line