GridConstraints[] (RadContainer grid) { final GridConstraints[] gridConstraints = new GridConstraints[grid.getComponentCount()]; for (int i = 0; i < grid.getComponentCount(); i++) { gridConstraints [i] = (GridConstraints) grid.getComponent(i).getConstraints().clone(); } return gridConstraints; }