To keep the controls center-aligned in some panel (RadPanel or RadLayoutControl) it is suitable to use set the Anchor or Dock property. The main benefit here is that the controls do not have a specific location and size. This way when the form is resized the controls will fit in the available space.
Controls are anchored by default to the top left of the form which means when the form size will be changed, their distance from the top left side of the form will remain constant. If you change the control anchor to top, bottom, left, right then the control will keep the same distance from all four sides of the form when it is resized. Thus, the control will keep centered when resizing.
I would recommend you to have a look at the following MSDN articles which give more information about anchoring and docking controls on the form:
This sounds more like a general programming question about controls alignment. This is why I made some research in StackOverflow and found out the following threads that have already been addressed on the same topic:
I hope this information helps. If you need further assistance do not hesitate to contact me.
Progress is here for your business, like always. Read more
about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.