Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Forms, Dialogs, TitleBar, StatusStrip > Maximzing a form from code ?

Not answered Maximzing a form from code ?

Feed from this thread
  • Thomas avatar

    Posted on Dec 2, 2011 (permalink)

    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

    Reply

  • Ivan Petrov Ivan Petrov admin's avatar

    Posted on Dec 6, 2011 (permalink)

    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Forms, Dialogs, TitleBar, StatusStrip > Maximzing a form from code ?
Related resources for "Maximzing a form from code ?"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]