Hi Matthew,
Sorry for the late response,
One possible way is to define DataTempalte as a string and load in code behind using (DataTemplate)XamlReader.Load("<DataTemplate xmlns="">....</DataTempalte>") and set to a HeaderTempalte
Sincerely yours,
Kaloyan Manev
the Telerik team