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.
Unfortunately, activation email could not send to your email. Please try again.

Resize form to design-time values

Thread ID:

Created:

Updated:

Platform:

Replies:

13284 Apr 24,2004 08:55 AM May 3,2005 08:41 PM Windows Forms 2
loading
Tags: FAQ
Jim
Asked On April 24, 2004 08:55 AM

I am wondering how to determine at run time the size of the form as it was specified at design time. For example if a form is resized by a user I would like to allow them to trigger an event and have the form determine it's original size from the design property grid. Any help appreciated.

Administrator [Syncfusion]
Replied On May 3, 2004 06:27 AM

Hi Jim, The values for the property grid are serialized back to the InitializeComponent() method. The only thing I know is to store these values in instance variable and reset the current values with them. Regards, Thomas

Administrator [Syncfusion]
Replied On May 3, 2005 08:41 PM

Please have a look at form''s DefaultSize values: this.DefaultSize Regards, Mital

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;