How to use FSlateBorderBrush in custom FSlateWidgetStyle struct?

I make custom FSlateWidgetStyle structs to edit them in editor.
FSlateBrush properties work fine. But when I try to use FSlateBorderBrush or FSlateBoxBrush I got compile error:

1>C:/uprojects/TestUI/Source/TestUI/GUI/Styles/TestWindowWidgetStyle.h(23): error : In TestWindowWidgetStyle: Unrecognized type 'FSlateBorderBrush'

What should I do to make them work?

FSlateBorderBrush is a helper struct used when setting up an FSlateBrush in C++, however only FSlateBrush is exposed to UHT, which is why you get an error when you try and use FSlateBorderBrush as a UPROPERTY.

For a widget style, you should just use FSlateBrush and then change its “Draw As” property to be Border or Box.
1