This is a migrated thread and some comments may be shown as answers.

Maximzing a form from code ?

1 Answer 68 Views
Form
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 02 Dec 2011, 04:55 PM
Hello,

Is is it possible to maximize a Form and/or a RadForm from code ? When it's creatred ? When it already exists ?
Optionnally, in a MDI container ?

Thank you,


Thomas

1 Answer, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 06 Dec 2011, 03:24 PM
Hello Thomas,

Thank you for writing.

For any form you can use the WindowState property to set its state. You can set this property as follows:

this.WindowState = FormWindowState.Maximized;

This will maximize the form in all cases including when it is a MDI Child.

I hope this will help you. If you have further questions, I would be glad to help. Regards,
Ivan Petrov
the Telerik team

Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

Tags
Form
Asked by
Thomas
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Share this question
or