Condividi tramite


X1

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

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

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

Property Value

Type: Double

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

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

Managed Equivalent

X1

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