Silverlight change color custom control programatically
- by Mayo
Hi all,
I have this Ellipse which I turned into a custom control so i could animate it programatically. However I am having trouble changing it's color.
I know about changing a shapes color like this:
aRectangle.Fill = new SolidColorBrush(Colors.Blue);
However I cannot do this with a custom control.
Anyone know how? Thanks.