How Do I Make Selectable UProperty* in Component?

I would like to expose an array of UBoolProperty and UNumericPropert in a component so the user can select properties of the owning actor to bind to the component.
I know this is doable because it’s done in the UMG editor, but I’m having trouble finding / figuring out the code to do this.
Does anybody know where to look or how best to do this?