Hi,
This question is been asked multiple times in this forum, and I still cant get it to work after following the solutions provided.
My Scenario:
I have an application which uses your docking framework, and we have been ironing out issues one by one for the last 4 months in terms of docking. The application displays windows which are sized to content and non re-sizable. All of those windows has your Xtra Grid(WinForms) mostly for performance reasons, which means we will have to live with it.
My Issue:
- When I create a floating window with an XtraGrid on it, setting the SizeToContent & Resize property does't seem to have any effect. This means most of my windows(let us say we are displaying 20 rows) will appear in a default 200*200 layout with a scroll-bar which is a big let down to users.
- When I dock the floating window, it all of a sudden has re-sizing issues. The grid gets centered sometimes and sometimes the layout seems to get cut off. Once re-sized, the scroll-bars does't appear as well.
I have attached a sample using which you can reproduce this. Execute it, and click on the "Add Floating Window" button. This is supposed to bring up a window which is sized to content and not re-sizable which does't work. While docked, it should be re-sizable and the scroll-bar should appear in the grid as and when the panel is re-sized. When floated again, it should go back to the previous floating state which is SizeToContent & Non Resizable.
Please can you advice me how to get this working?
Thanks,
-Thomas