Navigation
API > API/Editor > API/Editor/PropertyEditor
Specifies how a widget row can initiate a drag-and-drop (be dragged) and/or act as the target of a drag-and-drop (be dropped onto).
| Name | IDetailDragDropHandler |
| Type | class |
| Header File | /Engine/Source/Editor/PropertyEditor/Public/IDetailDragDropHandler.h |
| Include Path | #include "IDetailDragDropHandler.h" |
Syntax
class IDetailDragDropHandler
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDetailDragDropHandler() |
IDetailDragDropHandler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AcceptDrop
(
const FDragDropEvent& DragDropEvent, |
Accepts an arbitrary drag-and-drop (doesn't need to be from another widget row) with the current widget row as the target. | IDetailDragDropHandler.h | |
TOptional< EItemDropZone > CanAcceptDrop
(
const FDragDropEvent& DragDropEvent, |
Determines whether the drag-and-drop event contains data that can be accepted by the current widget row as the target. | IDetailDragDropHandler.h | |
TSharedPtr< FDragDropOperation > CreateDragDropOperation() |
Create a drag operation with the current widget row as the source. | IDetailDragDropHandler.h | |
virtual bool UseHandleWidget() |
Determines whether the reorder handle widget is added automatically. | IDetailDragDropHandler.h |