Autosize not working

Posted by: ballouj on 21 August 2018, 12:07 pm EST

  • Posted 21 August 2018, 12:07 pm EST

    Working with WinForms in VS 2015.

    I have a C1flexgrid inside a form. It is the only object on the form. The AutoSize property is set to TRUE, also set to TRUE in the design.cs and in the code opening the form.

    But the form does not fit to the grid.

    Using 2010 C1 version

    What am I missing?

    Thanks!

  • Posted 22 August 2018, 12:34 am EST

    Hi,

    You also need to set the Form’s AutoSizeMode property to GrowAndShrink, along with AutoSize = true.

    Regards.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels