/Engine/Source/Editor/UMGEditor/Public/WidgetBlueprintEditor.h
Get the current designer flags that are in effect for the current user widget we're editing.
EWidgetDesignFlags GetCurrentDesignerFlags() const