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
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