This is for Color
to Brush
....
you can't convert it, you have to make a new brush....
SolidColorBrush brush = new SolidColorBrush( myColor );
now, if you need it in XAML, you COULD make a custom value converter and use that in a binding
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…