void (GuiEditor editor, RadComponent[] components, GridConstraints[] constraintsToAdjust, ComponentDragObject dragObject) { int cardIndex = 1; while(myContainer.findComponentWithConstraints(CARD_NAME_PREFIX + cardIndex) != null) { cardIndex++; } components [0].setCustomLayoutConstraints(CARD_NAME_PREFIX + cardIndex); myContainer.addComponent(components [0]); }