Is it possible to change the +/- icons?

2 posts, 0 answers
  1. Martin
    Martin avatar
    7 posts
    Member since:
    Nov 2006

    Posted 13 Jul 2011 Link to this post

    Is it possible to replace the standard +/- icons for exanding and collapsing nodes with my own custom images?

    I found this article:

    Which suggests this is possible.  However I was struggling to find the StateImageKey property and a further article on the web seemed to suggest it was removed from the laster version of the components.

    Any help gratefully recieved.
  2. Stefan
    Stefan avatar
    2891 posts

    Posted 15 Jul 2011 Link to this post

    Hello Martin,

    Thank you for writing.

    You can set the expand/collapse images of the nodes in RadTreeView, by setting the following properties:
    radTreeView1.TreeViewElement.ExpandImage = Resources.expand;
    radTreeView1.TreeViewElement.CollapseImage = Resources.collapse;

    I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
Back to Top