I just wondering about my windows Application. When i re-size windows form that time my Form controls should re-size. Can any body tell me how to do this I have Used Anchor property for that but no luck.
This is a win form.
there are two ways to make a control automatically resize based on size changes of the :
But if you decide to use WPF GridLayout,it has a lot Capability for this target.
Edited
See this short tutorial Resizing controls with form: Anchor property Tutorial
You have to use the anchor property in properly. For example, for DataGridview to resize in its all direction, you have to set its anchor property as Top, Bottom, Left, Right
You have to set the anchor property suitably for each controls in the form as per your requirement.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With