In the last weeks I started playing around a bit with Silverlight in order to build something decent of the Italian Silverlight competition, so I decided to start sharing something of the things I found out while doing it.
The first one is about drawing dashed lines.
Here is how to do it in code:
Line line = new Line();line.StrokeThickness = 1;double dashArray = new double;dashArray = 2;dashArray = 4;line.StrokeDashArray = dashArray;
All you need is to define an array of double, size 2, and set the length of the dash as first element and the spacing between to dashes as second element of...