Need FillWeight Command

0
0

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

  • You must to post comments
0
0

Hi Zaeem,

You can do that by using the FlowLayoutPanel.SetFillWeight() method like the following:

this.flowLayoutPanel1.SetFillWeight(UserControl1, 100);

HTH,
Alaa

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.