Change Size of Border on WinForms LinearGauge

Hi,
I would like to remove the border from the LinearGauge as shown in the image.

I'm sure it is a simple thing to do but I can't find the property that will achieve this.

Thanks,
Nigel

3 Replies 1 reply marked as answer

BR Backia Raj Kanagaraj Syncfusion Team October 22, 2020 10:42 AM UTC

Hi Nigel, 

Thanks for contacting our Syncfusion support. 

We have checked your requirement, You  can hide the border from LinearGauge instead of removing the border. You can achieve this by setting  the OuterFrame and InnerFramer gradient color as `Transparent`. Please refer the below code and sample for your reference. 

Code snippet
// Set the Transparent to OuterFrame 
this.linearGauge1.OuterFrameGradientEndColor = System.Drawing.Color.Transparent; 
this.linearGauge1.OuterFrameGradientStartColor = System.Drawing.Color.Transparent; 
 
//Set the color as Transparent to InnerFrame 
this.linearGauge1.InnerFrameGradientEndColor = System.Drawing.Color.Transparent; 
this.linearGauge1.InnerFrameGradientStartColor = System.Drawing.Color.Transparent; 


Please let us know if you have any concerns. 

Regards, 
Backia Raj Kanagaraj

Marked as answer

NS Nigel Sutcliffe October 22, 2020 02:47 PM UTC

Thank you very much.

Nigel.


BR Bharathi Rajakantham Syncfusion Team October 23, 2020 09:06 AM UTC

Hi Nigel, 


Most welcome. We are glad to know that the issue is resolved at your end. Let us know if you need any other assistance. 


Regards, 
Bharathi R 


Loader.
Up arrow icon