Zeiffelin
Zeiffelin

Reputation: 37

Keep WinForms buttons centered automatically

I have a form with several buttons that I hide and show as needed. Is there a simple way to keep the visible buttons centered, side by side (maybe using one of the container controls)?

Upvotes: 0

Views: 70

Answers (1)

Vishal Suthar
Vishal Suthar

Reputation: 17193

Turning off the anchor in a direction and setting dock to none will keep the control centered

Hope, this is what you need...!!

Upvotes: 1

Related Questions