Code:
local f = CreateFrame("Frame", nil, self, BackdropTemplateMixin and "BackdropTemplate")
Testing for BackdropTemplateMixin is to differentiate between 9 and pre 9.
Then use as normal:
Code:
f:SetBackdrop({ ... })
This is from people that are in the Beta.