Partager via


Y1

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

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

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

Property Value

Type: Double

The y-coordinate for the start point of the line.

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

Managed Equivalent

Y1

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