Line


LineHierarchy: UIElement FrameworkElement Shape StretchableShape

Type: Shape

     <Line         X1="10"         Y1="10"         X2="50"         Y2="50"         Stroke="Red"         StrokeThickness="2" /> 

<Line.../> represents a geometric line drawn between two distinct points (Figure 9-6). If you do not specify a Stroke, the line will not be visible to the end user.

Figure 9-6. Line


Attributes


X1 (required)

A Double value representing the x-coordinate of the start point


X2 (required)

A Double value representing the x-coordinate of the end point


Y1 (required)

A Double value representing the y-coordinate of the start point


Y2(required)

A Double value representing the y-coordinate of the end point




XAML in a Nutshell
XAML in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596526733
EAN: 2147483647
Year: 2007
Pages: 217

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net