Drag components

I was wondering if there is a convenient way to “drag” components around a window in an application.
I’m considering this to move an object which has properties associated to another location and alter the properties.