Skip to main content
Home Forums Silverlight Programming Game Development A single DoubleCollection for a number of StrokeDashArrays causes an exception
2 replies. Latest Post by Grey Matter on November 1, 2009.
(0)
Grey Matter
Member
39 points
108 Posts
10-31-2009 10:09 PM |
Hi!
Could anyone explain it to me?If I create a single SolidColorBrush for a great number of Shapes it works OK, but if I create a single DoubleCollection for a number of shapes and set it to their StrokeDashArray it causes an exception or a strange behaviour. What it depends on?
GlitchSCG
111 points
37 Posts
10-31-2009 10:56 PM |
I experienced the exact same problem and resorted to creating a new instance of the DoubleCollection for each one.
11-01-2009 8:05 PM |
Yea, I too. But I simply wanted to know the reason, lets say from inside.