when maximize form, rearrange child components of form

K

Kayıhan

i have a datagridview on my Form. When i maximize form ,datagridview remains
in its initial size. i want it rearrage itself with parent form. is it
possible to solve on v.studio design mode without writing extra code(using
events).
 
F

Frank Uray

I am not sure what exactly you mean.
You can Set Anchor on your control,
this will resize and rearrange the controls on your form
depending your Anchor settings.

Best regards
 
K

kimiraikkonen

i have a datagridview on my Form. When i maximize form ,datagridview remains
in its initial size. i want it rearrage itself with parent form. is it
possible to solve on v.studio design mode without writing extra code(using
events).

Kayhan,
You can use DataGridView's "Dock" and "Anchor" properties to fit its
size when the form is resized.

Thanks,

Onur Güzel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top