I have created a User Control using graphic’s fill property. It’s a circle. It’s like a speedometer hence it has many colors and filled using different shapes. I need to have it’s empty space to have back color to some thing other than the default color. How to change the back color of the graphic’s shape???
Share
Check out Pens, Brushes and Colors
A more complete example. This will fill the background of the UserControl (based on the size of the user control) to Pink, and create a small circle that is filled with an orange backgroung color.
Is this more what you are looking for?
If you want the background color to be the same as the user control, change this: