How to Declare/Use Enum ESlateVisibility(BP) in C++

Guys i’ve been fiddling around but can’t seem to find this variable in C++. I would like to use it since i can bind it to my umg.

However the only speck of information that i found points to a Visibility.h inside the SlateCore.h . But that is just a enum so i can’t uproperty it not even see it in the editor.

Does anyone have a clue?

ESlateVisibility SampleVis; or ESlateVisibility SampleVis = ESlateVisibility::Visible;

void SampleFunc(ESlateVisibility SampleVis);

Call Function
void SampleFunc(ESlateVisibility::Visible);