code: @Override
      protected void afterParentChanged(ElementBase oldParent) {
          if (getParent() != null) {
              if (!getDefinition().isInternal()) {
                  bind();
              }
              
              setDesignMode(getParent().isDesignMode());
          }
      }
docs: Called after the parent has been changed.
  
  @param oldParent The value of the parent property prior to the change.