When I use an UltraExpandableGroupBox the header indents itself by a few pixels to the left and to the right when the control is in its expanded state. In its collapsed state the header goes right to the edge of the control.
I have attached a screenshot to show this problem/feature. The group box (not expandable) at the top looks as I want. The expandable group box (underneath) is indented.
I would like the header to always be flush to the sides as if the box was in its collapsed state. I tried to implement Infragistics.Win.IUIElementCreationFilter and the AfterCreateChildElements is called and I can get the GroupBoxHeaderUIElement but nothing I am doing to its rect either changes its location or size.
Any information on what I am doing wrong would be appreciated.
Hello jonrico,
If you need any additional assistance or if you have any further questions, please feel free to write us
Regards
Thank you very much for details. I saw what you mean. The mentioned behavior is expected (by design), because when the GroupBox is expanded we draw a borders (please take a look at the screenshot below). These borders doesn`t exist when the GroupBox is collapse. That`s why we reduce the header`s size (when the GroupBox is expanded), to make a space for the grey borders.
Please let me know if you have any questions.
Thanks for your reply.
We are still using 2010.3 but it is on my list of tasks to do the upgrade to the latest version of your controls. I will reply here when that is done and let you know if it fixes the issue.
I have found another thread on your forums however
http://forums.infragistics.com/forums/t/55479.aspx
I think it was you posting in that thread and you can see the same "problem" in the screenshot you attached to the above linked forum post.
Thanks for attached screenshot. Could you please tell me what is your current version and do you have any installed service release and which one. I try to reproduce your issue in a small sample with the latest available version - 12.1.20121.2008, but without success.
Are you using AppStyle in your scenario ? Or maybe you are using Images for the header. I`m not sure how to reproduce your issue, so I`m not able to provide you any suggestion. Please take a look at the attached sample and feel free to modify this sample to reproduce your issue and revert it back to me. I`ll be glad to research it.
Let me know if you have any questions.