Export (0) Print
Expand All

X1 Property

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

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

Property Value

Double

The x-coordinate for the start 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

Community Additions

Show:
© 2014 Microsoft