WPF Binding to change fill color of ellipse
Posted
by user294382
on Stack Overflow
See other posts from Stack Overflow
or by user294382
Published on 2010-03-16T00:04:34Z
Indexed on
2010/03/16
0:09 UTC
Read the original article
Hit count: 2004
Probably a simple question but:
How do I programmatically change the color of an ellipse that is defined in XAML based on a variable?
Everything I've read on binding is based on collections and lists -can't I set it simply (and literally) based on the value of a string variable? string color = "red" color = "#FF0000"
© Stack Overflow or respective owner