Hi,
I would like to arrange MDI windows from code, and I need to know the client area size excluding the docked panels size. So basically where my windows will be arranged without scrolling.
During debugging, I see that property InnerDockAreaBounds is what I need, but that is not public.
What else do you recommend (besides using reflection to get this non-public property value).
Thanks
Ended up using: MainForm.Controls.OfType<MdiClient>().FirstOrDefault().ClientSize;
Hello Zoltan,
Thank you for your update. I believe that using the code you have provided would be the best route aside from using reflection to get the InnerDockAreaBounds.
Please let me know if you have any other questions or concerns on this matter.