Navigation
API > API/Editor > API/Editor/StructUtilsEditor
Handles drag-and-drop (as a target) for a single property's child widget row.
| Name | FPropertyBagDetailsDragDropHandlerTarget |
| Type | class |
| Header File | /Engine/Source/Editor/StructUtilsEditor/Public/PropertyBagDragDropHandler.h |
| Include Path | #include "PropertyBagDragDropHandler.h" |
Syntax
class FPropertyBagDetailsDragDropHandlerTarget : public IDetailDragDropHandler
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Property Bag Details - Drag/Drop Handler Default Constructor | PropertyBagDragDropHandler.h | ||
FPropertyBagDetailsDragDropHandlerTarget
(
const FCanAcceptPropertyBagDetailsRowDropOp& CanAcceptDragDrop, |
Property Bag Details - Drag/Drop Handler Constructor | PropertyBagDragDropHandler.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CanAcceptDetailsRowDropOp | FCanAcceptPropertyBagDetailsRowDropOp | Callback to determine if the target is acceptable for a details view child row drag and drop operation. | PropertyBagDragDropHandler.h | |
| OnHandleDetailsRowDropOp | FOnPropertyBagDetailsRowDropOp | Callback to determine if the drag to a details view child row was handled successfully. | PropertyBagDragDropHandler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BindCanAcceptDragDrop
(
FCanAcceptPropertyBagDetailsRowDropOp&& CanAcceptDragDrop |
Bind the delegate for determining if this handler can accept this drag and drop operation. | PropertyBagDragDropHandler.h | |
virtual void BindOnHandleDragDrop
(
FOnPropertyBagDetailsRowDropOp&& OnDragDrop |
Bind the delegate to handle a valid drag and drop operation. | PropertyBagDragDropHandler.h |
Overridden from IDetailDragDropHandler
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< FDragDropOperation > CreateDragDropOperation() |
Creates the drag and drop operation. Disabled for the target. Enabled in subclasses. | PropertyBagDragDropHandler.h | |
virtual bool UseHandleWidget() |
Disable automatic creation of the handle widget for targets. It is overridden in the source below. | PropertyBagDragDropHandler.h |
Protected
Overridden from IDetailDragDropHandler
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AcceptDrop
(
const FDragDropEvent& DragDropSource, |
Accept and handle the drag and drop operation. | PropertyBagDragDropHandler.h | |
virtual TOptional< EItemDropZone > CanAcceptDrop
(
const FDragDropEvent& DragDropSource, |
Whether the details view child row can accept a drag and drop operation. | PropertyBagDragDropHandler.h |