)
We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get transparent look and feel of the WinForms RadialGauge?

Platform: WinForms |
Control: RadialGauge |
Published Date: May 27, 2015 |
Last Revised Date: January 8, 2020

Transparent effects of RadialGauge

The 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#: http://www.syncfusion.com/downloads/support/directtrac/138548/Radial_Gauge-1661734391.zip

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

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

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon