Is it possible to set the HeaderedContentControl.HeaderTemplate in the code behind in Silverlight? if so do you have an example?
1 Answer, 1 is accepted
answered on 12 Mar 2009, 06:51 PM
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