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
use
System.Windows.Media
If the name of your ellipse in your XAML is my_ellipse, write something like this:
my_ellipse
my_ellipse.Fill = System.Windows.Media.Brushes.Red;
or this:
my_ellipse.Fill = (SolidColorBrush)new BrushConverter().ConvertFromString("#F4F4F5")