Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UCanvasPanelSlot
Description
Called by the designer when a design-time widget is dragged. Returns true if the drag had any effect, false otherwise.
Virtual Inheritance
- UPanelSlot::DragDropPreviewByDesigner → UCanvasPanelSlot::DragDropPreviewByDesigner
| Name | DragDropPreviewByDesigner |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/CanvasPanelSlot.h |
| Include Path | #include "Components/CanvasPanelSlot.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/CanvasPanelSlot.cpp |
virtual bool DragDropPreviewByDesigner
(
const FVector2D & LocalCursorPosition,
const TOptional < int32 > & XGridSnapSize,
const TOptional < int32 > & YGridSnapSize
)