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. Image for the cookie policy date
close icon

Resize form to design-time values

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.

2 Replies

AD Administrator Syncfusion Team 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


AD Administrator Syncfusion Team May 4, 2005 12:41 AM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon