Hi I just upgraded to 2.1.
I was wondering about the dash lined styling of a line from code behind. Anyway I add the code to change the StrokeDashArray it doesn’t seem to change my line at all. I may just not be using it right. An example line of code would be nice.
Thanks.
- Kohins asked 11 years ago
- You must login to post comments
Resolved.
For anyone else having this problem, for me it was just a matter of not understanding how to make the dashes different lengths.
line.StrokeDashArray = new[] { 3.0, 3.0 };
- Kohins answered 11 years ago
-
Hello there, Glad you got it solved :) Yes its the same API as the StrokeDashArray property in System.Windows.Controls.Shape, used to create dashed lines in WPF. Best regards, Andrew
- You must login to post comments
Please login first to submit.