Articles in this section
Category / Section

How to get transparent effects of the WinForms RadialGauge?

3 mins read

Transparent effects of RadialGauge

The WinForms RadialGauge contains specific color for each and every item, by default. So, you have to specify the colors for the items to be customized. For example, Transparent look and feel can be achieved by applying the transparent color from the following properties. 

  1. BackgroundGradientEndColor
  2. BackgroundGradientStartColor
  3. GaugeArcColor
  4. InnerFrameGradientEndColor
  5. InnerFrameGradientStartColor
  6. InterLinesColor
  7. MajorTickMarkColor
  8. MinorTickMarkColor
  9. OuterFrameGradientEndColor
  10. OuterFrameGradientStartColor
  11. ScaleLabelColor

C#

//Sets transparent effects to the Radial Gauge.
this.radialGauge1.BackgroundGradientEndColor = System.Drawing.Color.Transparent;
this.radialGauge1.BackgroundGradientStartColor = System.Drawing.Color.Transparent;
this.radialGauge1.GaugeArcColor = System.Drawing.Color.Transparent;
this.radialGauge1.InnerFrameGradientEndColor = System.Drawing.Color.Transparent;
this.radialGauge1.InnerFrameGradientStartColor = System.Drawing.Color.Transparent;
this.radialGauge1.InterLinesColor = System.Drawing.Color.Transparent;
this.radialGauge1.MajorTickMarkColor = System.Drawing.Color.Transparent;
this.radialGauge1.MinorTickMarkColor = System.Drawing.Color.Transparent;
this.radialGauge1.OuterFrameGradientEndColor = System.Drawing.Color.Transparent;
this.radialGauge1.OuterFrameGradientStartColor = System.Drawing.Color.Transparent;
this.radialGauge1.ScaleLabelColor = System.Drawing.Color.Transparent;
//Shows the needle in the RadialGauge.
this.radialGauge1.ShowNeedle = true;
//Changes the style of the needle.
this.radialGauge1.NeedleStyle = Syncfusion.Windows.Forms.Gauge.NeedleStyle.Advanced;

VB

'Sets transparent effects to Radial Gauge.
Me.radialGauge1.BackgroundGradientEndColor = System.Drawing.Color.Transparent
Me.radialGauge1.BackgroundGradientStartColor = System.Drawing.Color.Transparent
Me.radialGauge1.GaugeArcColor = System.Drawing.Color.Transparent
Me.radialGauge1.InnerFrameGradientEndColor = System.Drawing.Color.Transparent
Me.radialGauge1.InnerFrameGradientStartColor = System.Drawing.Color.Transparent
Me.radialGauge1.InterLinesColor = System.Drawing.Color.Transparent
Me.radialGauge1.MajorTickMarkColor = System.Drawing.Color.Transparent
Me.radialGauge1.MinorTickMarkColor = System.Drawing.Color.Transparent
Me.radialGauge1.OuterFrameGradientEndColor = System.Drawing.Color.Transparent
Me.radialGauge1.OuterFrameGradientStartColor = System.Drawing.Color.Transparent
Me.radialGauge1.ScaleLabelColor = System.Drawing.Color.Transparent
'Shows the needle in RadialGauge.
Me.radialGauge1.ShowNeedle = True
'Changes the style of the needle.
Me.radialGauge1.NeedleStyle = Syncfusion.Windows.Forms.Gauge.NeedleStyle.Advanced

The following screenshot illustrates the transparent look of the Radial Gauge.

Transparent look and feel of RadialGauge

 

Samples:

C#: https://www.syncfusion.com/downloads/support/directtrac/138548/Radial_Gauge-1661734391.zip

VB: https://www.syncfusion.com/downloads/support/directtrac/138548/Radial_Gauge_VB-1783870783.zip

Reference link: https://help.syncfusion.com/windowsforms/radial-gauge/radial-gauge



Conclusion

I hope you enjoyed learning how to get transparent effects of the WinForms RadialGauge.

You can refer to WinForms Radial Gauge feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WinForms RadialGauge example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied