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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Resize form to design-time values

Thread ID:

Created:

Updated:

Platform:

Replies:

13284 Apr 24,2004 12:55 PM UTC May 4,2005 12:41 AM UTC WinForms 2
loading
Tags: FAQ
Jim
Asked On April 24, 2004 12:55 PM UTC

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 10:27 AM UTC

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 4, 2005 12:41 AM UTC

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.

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

;