How do you color a rectangle in C# that has been declared in XAML in WPF?
There is a rectangle control in XAML. In my C# code there are times in which it would be n
For all the lazy programmers, the .net color enums:
myRectangle.Fill = new SolidColorBrush(System.Windows.Media.Colors.AliceBlue);