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?
Hello,
Please provide a screenshot of your current behavior and a screenshot of your desired behavior. The expandable group box has a ClientSize property. I suggest following this thread as it seems related.
www.infragistics.com/.../541252