private static int getDesignTimeInsets(RadComponent component) {
    while (component != null) {
      Integer designTimeInsets = (Integer)component.getDelegee().getClientProperty(GridLayoutManager.DESIGN_TIME_INSETS);
      if (designTimeInsets != null) {
        return designTimeInsets.intValue();
      }
      component = component.getParent();
    }
    return 0;
  }
private static int getDesignTimeInsets(RadComponent component)