Upcasting shared pointer

Hi!


TSharedRef<SWidget>

what is the proper syntax to upcast this to some class, derived from SWidget?

EDIT: Solved by trial-and-error: