Y2

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

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

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

Property Value

Type: Double

The y-coordinate for the endpoint of the line.

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

Managed Equivalent

Y2

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