/Engine/Source/Runtime/UMG/Public/Binding/States/WidgetStateSettings.h
Obtain a list of all known States.
void GetAllStateNames ( [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & OutStateNames ) const