mercredi 6 mai 2015

How to get a control to fill its container up to its maximum size, then center align

I have a Windows Forms application consisting of a control within a window. I'd like the width of the control to fill the width of the form up to its MaximumSize.Width, at which point it centers itself within the window. Is there a way I can do this without code behind, if possible?

Aucun commentaire:

Enregistrer un commentaire