UContentBrowserDataSource::CreateCustomDragOperation

Called to provide custom drag and drop handling when starting a drag event.

Windows
MacOS
Linux

References

Module

ContentBrowserData

Header

/Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h

Include

#include "ContentBrowserDataSource.h"

Source

/Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp

Syntax

virtual TSharedPtr< FDragDropOperation > CreateCustomDragOperation
(
    TArrayView< const FContentBrowserItemData > InItems
)

Remarks

Called to provide custom drag and drop handling when starting a drag event. @note 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!

Returns

A custom drag operation, or null to allow another data source (or the default handler) to deal with it instead.

Parameters

Parameter

Description

InItems

The items being dragged.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss