title: How to implement a CustomTile that can be consumed by sap.m.TileContainer in SAPUI5?
body: <p>I extended a "CustomTile" with some other controls and plan to use it in a TileContainer.
  Example code for the new Tile:</p>
  
  <pre><code>jQuery.sap.declare("xyz.control.MySpecialTile");
  jQuery.sap.require("sap.m.CustomTile");
  sap.m.CustomTile.extend("xyz.control.MySpecialTile", {
  
      metadata : {
          properties : {
              "icon" : {
                  type : "string",
                  defaultValue : "sap-icon://shipping-status"
              }
          },
      },
  
      // will be called during creation time
      init : function() {
          this.addStyleClass("someStyle");
          var oCont = ... some content build with other controls ...      
          this.setContent(oCont);
      },
      renderer: {},
      onAfterRendering : function() {
      }
  });
  
  var oFunctions = new sap.m.TileContainer({
      width : "100%", // sap.ui.core.CSSSize
      height : "100%", // sap.ui.core.CSSSize
      tiles : [oCustomTile1, oCustomTile2, oMySpecialTile], // sap.ui.core.Control
  });     
  </code></pre>
  
  <p>Where:
  <code>oCustomTile1</code> and <code>oCustomTile2</code> are some standard CustomTiles and oMySpecialTile is an instance of my own tile.</p>
  
  <p>If I place "oMySpecialTile" somewhere in a page, it will be shown, but if I place it in the TileContainer (as in the code) this tile will be hidden.</p>
  
  <p>The question is, is there any problem in my code or is it a bug in the TileContainer?
  What I could assume, that the TileContainer checks the type of the elements and it does not know my "new" class?</p>
  
  <p>My general idea is, to build a CustomTile with some defined content structure and some attributes can be defined via binding.</p>