Maximzing a form from code ?

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    34 posts
    Member since:
    Nov 2011

    Posted 02 Dec 2011 Link to this post

    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

  2. Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 06 Dec 2011 Link to this post

    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.

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top