/Engine/Source/Editor/UMGEditor/Public/WidgetBlueprintEditor.h
The selected named slot
[TOptional](API\Runtime\Core\IO\TOptional)< [FNamedSlotSelection](API\Editor\UMGEditor\FNamedSlotSelection) > GetSelectedNamedSlot() const