Charles Petzold



Styled Lines in XAML Revisited

February 23, 2006
NYC

A couple weeks ago I discussed Styled Lines in XAML, and I couldn't get the correct statement to assign a StrokeDashArray attribute of an Ellipse element from the Dashes property of the static DashStyles.Dot property. I now have the solution:

I don't know if this solution works under the January CTP, but it works under the February CTP, and that's all that's important because the January CTP is history. You can download or run the revised TwoEllipses2.xaml XAML file, or just look at it here: