2 posts, 0 answers
  1. Matthew
    Matthew avatar
    13 posts
    Member since:
    Jan 2009

    Posted 09 Mar 2009 Link to this post

    Is it possible to set the HeaderedContentControl.HeaderTemplate in the code behind in Silverlight? if so do you have an example?
  2. Kaloyan
    Kaloyan avatar
    920 posts

    Posted 12 Mar 2009 Link to this post

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top