FExternalDragOperation

An external drag and drop operation that originates outside of slate. E.g. an OLE drag and drop.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TSharedFromThis

FDragDropOperation

FExternalDragOperation

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/DragAndDrop.h

Include

#include "Input/DragAndDrop.h"

Syntax

class FExternalDragOperation : public FDragDropOperation

Remarks

An external drag and drop operation that originates outside of slate. E.g. an OLE drag and drop.

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Const

const TArray...

 

GetFiles()

Public function Const

const FStrin...

 

GetText()

Public function Static

const FStrin...

 

GetTypeId()

Public function Const

bool

 

HasFiles()

Public function Const

bool

 

HasText()

Public function Static

TSharedRef< ...

 

NewFiles

(
    TArray< FString > InFileNames
)

Creates a new external file drag operation

Public function Static

TSharedRef< ...

 

NewOperation

(
    FString InText,
    TArray< FString > InFileNames
)

Creates a new external combined drag operation

Public function Static

TSharedRef< ...

 

NewText

(
    FString InText
)

Creates a new external text drag operation

Overridden from FDragDropOperation

Name Description

Public function Virtual Const

bool

 

IsOfTypeImpl

(
    const FString& Type
)

Checks whether this drag and drop operation can cast safely to the specified type.

Enums

Name

Description

Private enum

EExternalDragType