LineGeometry


LineGeometryHierarchy: Freezable Animatable Geometry

Type: Simple Geometry

     <LineGeometry         StartPoint="50,50"         EndPoint="100,100" /> 

or:

     <LineGeometry>         <LineGeometry.StartPoint>             <Point X="50" Y="50" />         </LineGeometry.StartPoint>         <LineGeometry.EndPoint>             <Point X="100" Y="100" />         </LineGeometry.EndPoint> </LineGeometry> 

<LineGeometry.../> represents the geometry of a line (Figure 9-7). The StartPoint and EndPoint properties can be specified either as inline markup or by declaring Point elements.

Figure 9-7. LineGeometry


Attributes


EndPoint (required)

Describes the end point of the line using inline markup as a comma-separated x-, y-coordinate pair or by explicitly declaring a Point element


StartPoint (required)

Describes the starting point of the line using inline markup as a comma-separated x-, y-coordinate pair or by explicitly declaring a Point element




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