This is a migrated thread and some comments may be shown as answers.

HeaderedContentControl.HeaderTemplate

1 Answer 86 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 2
Matthew asked on 09 Mar 2009, 06:03 PM
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

Sort by
0
Kaloyan
Telerik team
answered on 12 Mar 2009, 06:51 PM
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

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TabControl
Asked by
Matthew
Top achievements
Rank 2
Answers by
Kaloyan
Telerik team
Share this question
or