Point


PointPoint is a structure and has no class hierarchy.

     <Point X="50" Y="100" /> 

<Point .../> describes a point in x- and y-coordinates. Point is used primarily to describe more complex shapes such as Polygon and Polyline.

Point is often declared through the use of abbreviated markup syntax. Wherever an attribute is specified as a Point, it can be declared as a comma-separated pair of Double values representing the x-coordinate and the y-coordinate, respectively:

     <Element SomePointAttribute="0,0" /> 

Attributes


X (required)

A Double value representing the x-coordinate of the point


Y (required)

A Double value representing the y-coordinate of the point




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

Similar book on Amazon

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