UContentBrowserAssetDataSource::HandleDragDropOnItem

Called to provide custom drag and drop handling when a drag event is dropped on an item.

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::HandleDragDropOnItem()

UContentBrowserAssetDataSource::HandleDragDropOnItem()

References

Module

ContentBrowserAssetDataSource

Header

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Public/ContentBrowserAssetDataSource.h

Include

#include "ContentBrowserAssetDataSource.h"

Source

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Private/ContentBrowserAssetDataSource.cpp

Syntax

virtual bool HandleDragDropOnItem
(
    const FContentBrowserItemData & InItem,
    const FDragDropEvent & InDragDropEvent
)

Remarks

Called to provide custom drag and drop handling when a drag event is dropped on an item.

Returns

True if this data source can handle the drag event (even if it didn't because it was invalid), or false to allow another data source (or the default handler) to deal with it instead.

Parameters

Parameter

Description

InItem

The item that was the drop target.

InDragDropEvent

The drag and drop event.

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