Creating a DynamicViewContent extension like onDelete()

When looking at how onDelete() or onMove() is implemented you find they are extensions of a DynamicViewContent.

It would then make sense a developer could create their own DynamicViewContent function that a List or ForEach would respond to.

Is there any guidance on if this is first possible, then any sample code out there to do an implementation?
Creating a DynamicViewContent extension like onDelete()
 
 
Q