Hi,
I am having a UltraExpandableGroupBox and trying to resize it during Expand/Collapse using the 'ExpandedStateChanged' event. Here I need to expand the UltraExpandableGroupBox Height to "child control Height". Whenever I am doing that, I am getting more than the expected value.
private void groupBoxDetails_ExpandedStateChanged(object sender, EventArgs e) { if (this.groupBoxDetails.Expanded) { this.groupBoxDetails.Height = 26 * List<Details>.Count; else this.groupBoxPastApptDetails.Height = 28; }
eg:-
List<Details>.count = 10
I need to set the groupBoxDetails Height to 260
can anyone please help me on this regard?
I'll require a sample project to provide further help. It's unclear what could be root cause.
Yes I think, but I am not getting the expected result due to that I am not getting the exact TableLayoutPanel size after adding rows dynamically
Certainly, we can continue our discussion there. Did the ClientSize property answer your question? If so can we close this forum?
Hi Michael,Could you please review the below and which is related to the above behaviors
www.infragistics.com/.../ultraexpandablegroupbox---size
Expected:
Current: