Navigation
API > API/Editor > API/Editor/ContentBrowserData > API/Editor/ContentBrowserData/UContentBrowserDataSource
Description
Called to provide custom drag and drop handling when starting a drag event.
If you override this then you are responsible for all drag and drop handling (including the default move/copy behavior) via the HandleDrag functions below!
| Name | CreateCustomDragOperation |
| Type | function |
| Header File | /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h |
| Include Path | #include "ContentBrowserDataSource.h" |
| Source | /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp |
virtual TSharedPtr < FDragDropOperation > CreateCustomDragOperation
(
TArrayView < const FContentBrowserItemData > InItems
)
A custom drag operation, or null to allow another data source (or the default handler) to deal with it instead.
Parameters
| Name | Remarks |
|---|---|
| InItems | The items being dragged. |