I recently found myself needing to do this and it took longer than expected! Anyway here is my solution!

[source:c-sharp] BrushConverter bc = new BrushConverter();
Brush brush;
brush = (Brush)bc.ConvertFrom(ci.Colour);
txtSetterColor.Background = brush;
[/source]

FireFox
Using MediaElement

Discussion

Leave a Comment

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.