Hello,
I am adding usercontrol in FlowLayoutPanel like this
Dim UserControl1 As New Usercontrol
FlowLayoutPanel1.Controls.Add(UserControl1)
I want to set fill weight of usercontrol to 100. how can I do it.
Thanks
Hi Zaeem,
You can do that by using the FlowLayoutPanel.SetFillWeight() method like the following:
this.flowLayoutPanel1.SetFillWeight(UserControl1, 100);
HTH,
Alaa
Please login first to submit.