Share via


Y2 Property

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

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

Property Value

Double

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

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

Remarks

You can animate a Line, but you would need to apply discrete Double animations to properties rather than Point animations.

Applies To

Line

See Also

Shapes and Drawing in Silverlight Overview