I created a User control which I load on FlowLayoutPanel. it works fine, but the problem is when I resize it(Maximize) it doesn't change it size, it remain normal the way the initial size was, even after docking the user control to parent control. Please help out.
I dock the FlowLayoutPanel on TableLayouPanel to enable the autosize of the User Control.
this.Width = this.Parent.Width;
this.Dock = DockStyle.Fill;

Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Nov 9, 2021, 11:22 PM EST
Sachin SinghRank #66 · 26.2K reputationPosted Nov 9, 2021, 11:43 PM EST