If I set a control inside an ultraGroupBox to Dock = DockStyle.Fill, the height of the child control is LESS than that of the ultraGroupBox.ClientSize.Height.
How can I find out the size a control will expand to inside an ultraGroupBox, programmatically?
I suspect it has something to do with the group box caption and border line.
I am having the same difficulty with the ultraTabControl/ultraTabPageControl.
Hello,
You could get the desired size from the following property:
ultraGroupBox1.UIElement.GroupBox.DisplayRectangle;
Please do not hesitate to contact us if you need any additional assistance.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Sorry for the delay - vacation.
Yes, that is what I was looking for, thank you!
Should anyone else find this thread, I have discovered the ContentPadding rectangle more appropriate. Instead of adjusting the borders of the grid control inside the group box, content padding is better if only one item is to fill the group box.