Category / Section
How to customize the appearance of needle used in WinForms RadialGauge?
1 min read
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
Figure 1. Radial Gauge specified with Needle color.
Figure 2. Radial Gauge specified with default Needle style.
Figure 3. Needle style is specified as Advanced in RadialGauge.
Figure 4. Needle style is specified as Pointer in RadialGauge.
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