Drag and drop components onto the interface, and there will be other components on the input end. How can this function be implemented? Is there anything you can refer to?
You can override AddedToDocument() to place other components.
The linked example may be helpful to you.