Articles in this section
Category / Section

How to customize the WinForms LinearGauge selection value based on MajorDifference value?

1 min read

Customize the lineargauge selection

In WinForms Linear Gauge control, we can define the increment value on selection change by IncrementValue property of LinearGauge. We can make use of this IncrementValue property to change the value based on MajorDifference.

C#

//MajorDifference value
this.linearGauge1.MajorDifference = 20; 
//LinearGauge selection value customized by given value
this.linearGauge1.IncrementValue = this.linearGauge1.MajorDifference;

VB

'MajorDifference value
Me.linearGauge1.MajorDifference = 20
'LinearGauge selection value customized by given value
 Me.linearGauge1.IncrementValue = Me.linearGauge1.MajorDifference

 

Screenshot

 

Customize the LinearGauge selection in WinForms Linear Gauge

 

Samples:

C#:  LinearGaugeExample

VB:  LinearGaugeExample

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

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