TreeViewItem Control Template?

2 posts, 0 answers
  1. MattC2007
    MattC2007 avatar
    42 posts
    Member since:
    Mar 2007

    Posted 22 Jan 2010 Link to this post

    I was wondering how to go about creating a treeviewitem with three images to the left of the text. I need these images to have a left click mouse event. I create them dynamically in the code. I don't want to use a datatemplate. It appears to me that I would have to modify the control template. I was wondering if someone could provide a simple example of my request?
  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 25 Jan 2010 Link to this post

    Hello Matt,

    Please find attached a sample project that demonstrates how to alter the ControlTemplate of RadTreeViewItem and add three images before the text. Also, please have a look at this help article, as it explains how to edit the ControlTemplate of our controls. Let me know if you have additional questions.

    Kiril Stanoev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top