)
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 reduce the size of the WinForms RadialGauge below its MinimumSize?

Platform: WinForms |
Control: RadialGauge |
Published Date: September 29, 2015 |
Last Revised Date: January 8, 2020

Size

You can reduce the size of the Radial Gauge by specifying the required size as the Minimum size of the RadialGauge. The RadialGauge is initialized with the minimum size, by default.

C#

//Initializes the MinimumSize for the Radial Gauge.
this.radialGauge1.MinimumSize = new Size(0, 0);
//Sets the required size of the Radial Gauge.
this.radialGauge1.Size = new Size((int)this.integerTextBox1.IntegerValue, (int)this.integerTextBox2.IntegerValue);

VB

'Initializes the MinimumSize for the Radial Gauge.
Me.radialGauge1.MinimumSize = New Size(0, 0)
'Sets the required size of the Radial Gauge.
Me.radialGauge1.Size = New Size(CInt(Fix(Me.integerTextBox1.IntegerValue)), CInt(Fix(Me.integerTextBox2.IntegerValue)))

 

Note:

The “MinimumSize” property helps specify the lower limit of the Radial Gauge.

 

RadialGauge with specified size

Figure 1: Radial Gauge with specified size

 

Default size of the RadialGauge

Figure 2: Default size of the Radial Gauge

RadialGauge with minimum size specified

Figure 3: Radial Gauge with Minimum size specified

Samples:

C#: RadialGauge_Resize_C#

VB: RadialGauge_Resize_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