Hi All,
How can I create Button control which contains a Rectangle object filled with the color represented by the Colors.Aqua?
I have a rectangle
Rectangle rectangle = new Rectangle();
rectangle.Fill = new SolidColorBrush(Colors.Aqua);
rectangle.Width = 100;
rectangle.Height = 50;
and I have a button:
Button button = new Button();
button.Content = "Button";
I can't figure out how to combine these things.
Any ideas?