How to cast to an actor blueprint from a widget?

Can you tell me how to do it?