use 'SetContentsMargins()' instead of 'Margins =' and replace 'DefaultDropAction' with 'DropAction'