UContentBrowserDataSource::HandleDragOverItem

Called to provide custom drag and drop handling while a drag event is over an item, such as performing validation and reporting error information.

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::HandleDragOverItem()

UContentBrowserAssetDataSource::HandleDragOverItem()

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 bool HandleDragOverItem
(
    const FContentBrowserItemData & InItem,
    const FDragDropEvent & InDragDropEvent
)

Remarks

Called to provide custom drag and drop handling while a drag event is over an item, such as performing validation and reporting error information.

Returns

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

Parameters

Parameter

Description

InItem

The item that is the current 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