)
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 customize the appearance of needle used in WinForms RadialGauge?

Platform: WinForms |
Control: RadialGauge |
Published Date: November 6, 2015 |
Last Revised Date: January 7, 2020

Customize the appearance of needle

You can customize the appearance of the Gauge Needle by using the following properties.

1)NeedleColor: It helps to specify the Needle color of the RadialGauge

2)NeedleStyle: It helps to specify the Needle style of the RadialGauge.

3)Value: It helps to specify the value of RadialGauge.

C#

//To specify the Needle color of the RadialGauge.
this.radialGauge1.NeedleColor = Color.Gray;
//To specify the Needle style of the RadialGauge.
this.radialGauge1.NeedleStyle = Syncfusion.Windows.Forms.Gauge.NeedleStyle.Default;
//To specify the Needle value
this.radialGauge1.Value = 0;

VB

'To specify the Needle color of the RadialGauge.
Me.radialGauge1.NeedleColor = Color.Gray
'To specify the Needle style of the RadialGauge.
Me.radialGauge1.NeedleStyle = Syncfusion.Windows.Forms.Gauge.NeedleStyle.Default
'To specify the Needle value
Me.radialGauge1.Value = 0

 

RadialGauge specified with needle color

Figure 1. Radial Gauge specified with Needle color.

RadialGauge specified with default needle style

Figure 2. Radial Gauge specified with default Needle style.

Needle style is specified as advanced in RadialGauge

Figure 3. Needle style is specified as Advanced in RadialGauge.

Needle style is specified as pointer in RadialGauge

Figure 4. Needle style is specified as Pointer in RadialGauge.

RadialGauge value is set as 60

Figure 5. Radial Gauge value is set as 60.

Samples:

C#: RadialGauge_Needle_Customization_C#

VB: RadialGauge_Needle_Customization_VB

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