ui.DragDrop.SetFeedback()

The SetFeedback() method is used to specify the appearance of the Drag and Drop target object. For example, you can specify different visual indicators for situations, when the mouse cursor is placed at the drag and drop target.

 

The SetFeedback() method does not return any values, but needs a string parameter to be passed. The list of the possible parameters and their descriptions is given in the table below:

 

Parameter

Description

All

The dropped object will be placed to some place on the target, the exact location is not important.

Insert

The dropped object will be inserted between the existing rows of the list.

Select

The dropped object will replace the row of the list that appears under the mouse.