Navigation
API > API/Runtime > API/Runtime/SlateCore
An external drag and drop operation that originates outside of slate. E.g. an OLE drag and drop.
| Name | FExternalDragOperation |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Input/DragAndDrop.h |
| Include Path | #include "Input/DragAndDrop.h" |
Syntax
class FExternalDragOperation : public FDragDropOperation
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDragDropOperation → FExternalDragOperation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FExternalDragOperation() |
A private constructor to ensure that the appropriate "New" factory method is used below | Input/DragAndDrop.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DraggedFileNames | TArray< FString > | Input/DragAndDrop.h | ||
| DraggedText | FString | Input/DragAndDrop.h | ||
| DragType | uint8 | Input/DragAndDrop.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Input/DragAndDrop.h | |||
const FString & GetText() |
Input/DragAndDrop.h | ||
bool HasFiles() |
Input/DragAndDrop.h | ||
bool HasText() |
Input/DragAndDrop.h |
Overridden from FDragDropOperation
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsOfTypeImpl
(
const FString& Type |
Checks whether this drag and drop operation can cast safely to the specified type. | Input/DragAndDrop.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FString & GetTypeId() |
Input/DragAndDrop.h | ||
static TSharedRef< FExternalDragOperation > NewFiles
(
TArray< FString > InFileNames |
Creates a new external file drag operation | Input/DragAndDrop.h | |
static TSharedRef< FExternalDragOperation > NewOperation
(
FString InText, |
Creates a new external combined drag operation | Input/DragAndDrop.h | |
static TSharedRef< FExternalDragOperation > NewText
(
FString InText |
Creates a new external text drag operation | Input/DragAndDrop.h |