Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
UltraExpandableGroupBox header position
posted

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.