I am using raddock control to host dock windows that as a child have a form with a docked gridview, as per picure attached.
My aim is to have the dockwindow width equal to the gridview hosted inside the form. I can achieve this the first time the dock window is created, but if the user changes the width of a column in the gridview I cannot figure out how to programmatically change the parent form's width to be equal to the gridview width, and subsequently the dockwindow width to be equal to the hosting the gridview form width.
The second picture attached displays the desired effect, the form having the same width as the gridview, and also the dockwindow hosting the has a similar width.
I would appreciate your input,