Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
changing code on a gauge bar in c#
posted

I have this code:

 

 

SolidColorBrush myBrush = new SolidColorBrush(Colors.Red);

gauge.Scales[0].BarMarkers[0].Foreground = myBrush;

Can someone tell me what I am doing wrong?