Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
705
how to set the ultraExpGrpBox autosize
posted

Hi,

The contents in the ultraExpGrpBox are added dynamically, then the ultraExpGrpBox's height should be changed according to contents, I found only ultraExpandableGroupBoxPanel has the "AutoSize" property, ultraExpGrpBox hasn't. I set this property, but it's useless, could you give some help?

 Regards & Thanks

Wei Wei

Parents
No Data
Reply
  • 37774
    posted

     Wei Wei,

    The UltraExpandableGroupBox doesn't support AutoSize functionality.  The reason that you see an AutoSizeProperty on the UltraExpandableGroupBoxPanel is because this is a derived .NET panel that is positioned within the group box.  You should submit a feture request for AutoSize functionality to be implemented.

    You might be able to hack this functionality by looping through all the controls in the Controls collection of the panel and setting the Width of the control to the largest Right property found among the controls and the Height of the panel to the largest Bottom property found.

    -Matt

Children
No Data