Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The Data is a Property of the Path object in your template...</p> <p><a href="http://msdn.microsoft.com/en-us/library/ms745814.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/ms745814.aspx</a></p> <p>edit:</p> <p>From the msdn doco: The Data attribute string begins with the "moveto" command, indicated by M, which establishes a start point for the path in the coordinate system of the Canvas. Path data parameters are case-sensitive. The capital M indicates an absolute location for the new current point. A lowercase m would indicate relative coordinates. The first segment is a cubic Bezier curve beginning at (100,200) and ending at (400,175), drawn using the two control points (100,25) and (400,350). This segment is indicated by the C command in the Data attribute string. Again, the capital C indicates an absolute path; the lowercase c would indicate a relative path.</p> <p>The second segment begins with an absolute horizontal "lineto" command H, which specifies a line drawn from the preceding subpath's endpoint (400,175) to a new endpoint (280,175). Because it is a horizontal "lineto" command, the value specified is an x-coordinate.</p> <p>For the complete path syntax, see the <a href="http://msdn.microsoft.com/en-us/library/system.windows.shapes.path.data.aspx" rel="nofollow noreferrer">Data</a> reference and How to<a href="http://msdn.microsoft.com/en-us/library/ms745814.aspx" rel="nofollow noreferrer">: Create a Shape by Using a PathGeometry</a>.</p> <p>Hope this helps :)</p> <p>Ian</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload