Creating a New Component
You can find detailed information on how to create properly a new component in the Foundation User’s Manual, IlvGraphic: The graphic object class, Creating a New Graphic Object Class.
The key is to register properly the class information, which is mandatory to make the component look-and-feel dependant.
Let’s assume that the new created component is MyComponent, a subclass of IlvGadget.